Import CMS code using fully qualified module names
or, using proper the proper Python 3 relative imports (e.g., 'from .views import x') which are standard and unambiguous.
This commit is contained in:
committed by
Kyle McCormick
parent
7538691484
commit
538dbf696b
@@ -17,7 +17,7 @@ from edxval.api import create_video
|
||||
from mock import Mock, patch
|
||||
from opaque_keys.edx.keys import UsageKey
|
||||
|
||||
from contentstore.tests.utils import CourseTestCase, mock_requests_get
|
||||
from cms.djangoapps.contentstore.tests.utils import CourseTestCase, mock_requests_get
|
||||
from openedx.core.djangoapps.contentserver.caching import del_cached_content
|
||||
from xmodule.contentstore.content import StaticContent
|
||||
from xmodule.contentstore.django import contentstore
|
||||
|
||||
Reference in New Issue
Block a user