* run python modernize

* run isort
This commit is contained in:
Stu Young
2019-05-15 14:03:26 -04:00
committed by Michael Youngstrom
parent b5725b9f29
commit 2b1efa4589
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
"""
Tests for the LMS/lib utils
"""
from __future__ import absolute_import
from lms.lib import utils
from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase

View File

@@ -1,7 +1,10 @@
"""
Tests of the LMS XBlock Mixin
"""
from __future__ import absolute_import
import ddt
from xblock.validation import ValidationMessage
from lms_xblock.mixin import (
INVALID_USER_PARTITION_GROUP_VALIDATION_COMPONENT,
@@ -10,10 +13,9 @@ from lms_xblock.mixin import (
INVALID_USER_PARTITION_VALIDATION_UNIT,
NONSENSICAL_ACCESS_RESTRICTION
)
from xblock.validation import ValidationMessage
from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.tests.factories import CourseFactory, ToyCourseFactory, ItemFactory
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase, TEST_DATA_MIXED_MODULESTORE
from xmodule.modulestore.tests.django_utils import TEST_DATA_MIXED_MODULESTORE, ModuleStoreTestCase
from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory, ToyCourseFactory
from xmodule.partitions.partitions import Group, UserPartition