From 6a7c318d220e44d9305bf785c2d0cea26a82d019 Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Wed, 17 Sep 2014 11:54:22 -0400 Subject: [PATCH] Increase randomness of course name in testcase --- .../xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py index 8b6f6e32c1..00a149c785 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py @@ -1720,7 +1720,7 @@ class TestMixedModuleStore(unittest.TestCase): # verify store used for creating a course try: - course = self.store.create_course("org", "course{}".format(uuid4().hex[:3]), "run", self.user_id) + course = self.store.create_course("org", "course{}".format(uuid4().hex[:5]), "run", self.user_id) self.assertEquals(course.system.modulestore.get_modulestore_type(), store_type) except NotImplementedError: self.assertEquals(store_type, ModuleStoreEnum.Type.xml)