This commit is contained in:
Alexander Kryklia
2013-09-05 19:55:30 +03:00
parent faa03f0e25
commit ab3cde8a4d

View File

@@ -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()))