From 684f901760911f98419fc6bafcef801cd8fe3630 Mon Sep 17 00:00:00 2001 From: John Eskew Date: Wed, 16 Sep 2015 16:04:51 -0400 Subject: [PATCH] Fix quality issue. --- .../management/commands/tests/test_fix_not_found.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/management/commands/tests/test_fix_not_found.py b/cms/djangoapps/contentstore/management/commands/tests/test_fix_not_found.py index bd519a4167..ceff802d46 100644 --- a/cms/djangoapps/contentstore/management/commands/tests/test_fix_not_found.py +++ b/cms/djangoapps/contentstore/management/commands/tests/test_fix_not_found.py @@ -16,7 +16,7 @@ class TestFixNotFound(ModuleStoreTestCase): """ The management command doesn't work on non split courses """ - course = CourseFactory(default_store=ModuleStoreEnum.Type.mongo) + course = CourseFactory.create(default_store=ModuleStoreEnum.Type.mongo) with self.assertRaises(SystemExit): call_command("fix_not_found", unicode(course.id))