refactor: xmodule/course_module.py -> xmodule/course_block.py
This commit is contained in:
@@ -13,7 +13,7 @@ from lms.djangoapps.courseware.courses import get_course
|
||||
from lms.djangoapps.courseware.exceptions import CourseRunNotFound
|
||||
from openedx.core.djangoapps.content.course_overviews.models import \
|
||||
CourseOverview # lint-amnesty, pylint: disable=unused-import
|
||||
from xmodule.course_module import COURSE_VISIBILITY_PUBLIC # lint-amnesty, pylint: disable=wrong-import-order
|
||||
from xmodule.course_block import COURSE_VISIBILITY_PUBLIC # lint-amnesty, pylint: disable=wrong-import-order
|
||||
|
||||
|
||||
def can_access_all_blocks(requesting_user, course_key):
|
||||
|
||||
@@ -11,7 +11,7 @@ from opaque_keys.edx.locator import CourseLocator
|
||||
from rest_framework.request import Request
|
||||
from rest_framework.test import APIRequestFactory
|
||||
from xblock.core import XBlock
|
||||
from xmodule.course_module import DEFAULT_START_DATE
|
||||
from xmodule.course_block import DEFAULT_START_DATE
|
||||
from xmodule.modulestore.tests.django_utils import TEST_DATA_MONGO_AMNESTY_MODULESTORE, ModuleStoreTestCase
|
||||
from xmodule.modulestore.tests.factories import check_mongo_calls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user