diff --git a/common/lib/xmodule/xmodule/modulestore/tests/factories.py b/common/lib/xmodule/xmodule/modulestore/tests/factories.py index cb341ee83c48..1789b7468b7f 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/factories.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/factories.py @@ -50,7 +50,7 @@ def _create(cls, target_class, **kwargs): name = kwargs.get('name', Location.clean(kwargs.get('display_name'))) run = kwargs.get('run', name) - location = Location('i4x', org, number, run, 'course', name) + location = Location(org, number, run, 'course', name) # Write the data to the mongo datastore new_course = store.create_xmodule(location, metadata=kwargs.get('metadata', None))