Commit 51927808 by Don Mitchell

Merge pull request #5939 from edx/split/course_asset

Paging and sorting for assets
parents 43d8c7a7 48211388
...@@ -330,8 +330,6 @@ class TestMongoAssetMetadataStorage(unittest.TestCase): ...@@ -330,8 +330,6 @@ class TestMongoAssetMetadataStorage(unittest.TestCase):
Save multiple metadata in each store and retrieve it singularly, as all assets, and after deleting all. Save multiple metadata in each store and retrieve it singularly, as all assets, and after deleting all.
""" """
# Temporarily only perform this test for Old Mongo - not Split. # Temporarily only perform this test for Old Mongo - not Split.
if not isinstance(storebuilder, MongoModulestoreBuilder):
raise unittest.SkipTest
with MongoContentstoreBuilder().build() as contentstore: with MongoContentstoreBuilder().build() as contentstore:
with storebuilder.build(contentstore) as store: with storebuilder.build(contentstore) as store:
course1 = CourseFactory.create(modulestore=store) course1 = CourseFactory.create(modulestore=store)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment