Update acceptance test

This commit is contained in:
Alexander Kryklia
2013-09-05 17:23:48 +03:00
parent 3531f2cbb7
commit 462a42e99e
2 changed files with 71 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ class XModuleCourseFactory(Factory):
store = editable_modulestore('direct')
# Write the data to the mongo datastore
new_course = store.create_xmodule(location)
new_course = store.create_xmodule(location, metadata=kwargs.get('metadata', None))
# This metadata code was copied from cms/djangoapps/contentstore/views.py
if display_name is not None: