refactor: Remove unused test factory
This commit is contained in:
@@ -16,7 +16,6 @@ from lms.djangoapps.courseware.models import (
|
||||
XModuleUserStateSummaryField
|
||||
)
|
||||
from common.djangoapps.student.tests.factories import UserFactory
|
||||
from common.djangoapps.student.tests.factories import UserProfileFactory as StudentUserProfileFactory
|
||||
|
||||
# TODO fix this (course_id and location are invalid names as constants, and course_id should really be COURSE_KEY)
|
||||
# pylint: disable=invalid-name
|
||||
@@ -24,10 +23,6 @@ course_id = CourseKey.from_string('edX/test_course/test')
|
||||
location = partial(course_id.make_usage_key, 'problem')
|
||||
|
||||
|
||||
class UserProfileFactory(StudentUserProfileFactory):
|
||||
courseware = 'course.xml'
|
||||
|
||||
|
||||
class StudentModuleFactory(DjangoModelFactory): # lint-amnesty, pylint: disable=missing-class-docstring
|
||||
class Meta:
|
||||
model = StudentModule
|
||||
|
||||
Reference in New Issue
Block a user