Upgrade factory_boy

TNL-3179
This commit is contained in:
muhammad-ammar
2015-08-31 13:52:20 +05:00
parent 0a2cfbe31c
commit 6a5ce5d544
21 changed files with 113 additions and 57 deletions

View File

@@ -9,7 +9,8 @@ from opaque_keys.edx.locations import SlashSeparatedCourseKey
class InstructorTaskFactory(DjangoModelFactory):
FACTORY_FOR = InstructorTask
class Meta(object): # pylint: disable=missing-docstring
model = InstructorTask
task_type = 'rescore_problem'
course_id = SlashSeparatedCourseKey("MITx", "999", "Robot_Super_Course")