From ab3cde8a4d5ef89c6377ad4fd014a7011cfbaa07 Mon Sep 17 00:00:00 2001 From: Alexander Kryklia Date: Thu, 5 Sep 2013 19:55:30 +0300 Subject: [PATCH] Fix --- lms/djangoapps/courseware/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tests/__init__.py b/lms/djangoapps/courseware/tests/__init__.py index 2552da9fb9..0a4d3508b8 100644 --- a/lms/djangoapps/courseware/tests/__init__.py +++ b/lms/djangoapps/courseware/tests/__init__.py @@ -86,7 +86,7 @@ class BaseTestXmodule(ModuleStoreTestCase): data=self.DATA ) - self.runtime = get_test_system(course_id='MITx/999/Robot_Super_Course') + self.runtime = get_test_system(course_id=self.course.id) # Allow us to assert that the template was called in the same way from # different code paths while maintaining the type returned by render_template self.runtime.render_template = lambda template, context: u'{!r}, {!r}'.format(template, sorted(context.items()))