Commit 48211388 by Don Mitchell

Paging and sorting for assets

PLAT-75
parent a0a5746e
...@@ -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