summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/opnfv_testapi/tests
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-04 16:59:51 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-04 16:59:52 +0000
commit1e8e716c35b90005506417f118ba97d1c39e56da (patch)
tree93823342c70b11ac3eb9260a4d20e9000684cc7e /utils/test/result_collection_api/opnfv_testapi/tests
parentf61173ebe98f1c746f7cb7eef439d56590a4b78e (diff)
parent5d2050686734a4636efe1bd35221a7d6c60a3d5f (diff)
Merge "test APi evolution add filter to retrieve last results"
Diffstat (limited to 'utils/test/result_collection_api/opnfv_testapi/tests')
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py b/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
index e55696890..9b4d1208c 100644
--- a/utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
+++ b/utils/test/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):