refactor: Move StaffFactory helper to common/

This commit is contained in:
stvn
2021-04-13 21:23:28 -07:00
parent 5dd8302d8b
commit 2fa36fb0cf
27 changed files with 50 additions and 41 deletions

View File

@@ -16,12 +16,12 @@ from django.db import connections
from django.test import TestCase
from django.test.utils import override_settings
from lms.djangoapps.courseware.tests.factories import StaffFactory
from lms.djangoapps.courseware.field_overrides import OverrideFieldData
from openedx.core.djangolib.testing.utils import CacheIsolationMixin, CacheIsolationTestCase, FilteredQueryCountMixin
from openedx.core.lib.tempdir import mkdtemp_clean
from common.djangoapps.student.models import CourseEnrollment
from common.djangoapps.student.tests.factories import AdminFactory, UserFactory
from common.djangoapps.student.tests.factories import StaffFactory
from xmodule.contentstore.django import _CONTENTSTORE
from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.django import SignalHandler, clear_existing_modulestores, modulestore