summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/tests
diff options
context:
space:
mode:
Diffstat (limited to 'result_collection_api/opnfv_testapi/tests')
-rw-r--r--result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py b/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
index e556968..9b4d120 100644
--- a/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
+++ b/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
@@ -32,6 +32,12 @@ class MemCursor(object):
self.count -= 1
return self.collection.pop()
+ def sort(self, key_or_list, direction=None):
+ return self
+
+ def limit(self, limit):
+ return self
+
class MemDb(object):