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:
Kyle McCormick
2020-10-01 15:59:46 -04:00
committed by Kyle McCormick
parent 7538691484
commit 538dbf696b
114 changed files with 313 additions and 315 deletions

View File

@@ -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