diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-05-18 12:27:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-05-18 12:27:46 +0000 |
commit | 21f4c99126eff2c0b83b99a49458d0e74291cdae (patch) | |
tree | 4df09d7cdfe7741521fe14343bfa8ac7f3f6bcbc /utils/test/result_collection_api/tests/unit/fake_pymongo.py | |
parent | 004bb4383798905f4bef374fc5e35d7ac749d68d (diff) | |
parent | 9e67d0cb981b25b26d2720f1e749628b040eb51b (diff) |
Merge "add pod related unittests in testAPI"
Diffstat (limited to 'utils/test/result_collection_api/tests/unit/fake_pymongo.py')
-rw-r--r-- | utils/test/result_collection_api/tests/unit/fake_pymongo.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/tests/unit/fake_pymongo.py b/utils/test/result_collection_api/tests/unit/fake_pymongo.py index e2db46038..e5ded376e 100644 --- a/utils/test/result_collection_api/tests/unit/fake_pymongo.py +++ b/utils/test/result_collection_api/tests/unit/fake_pymongo.py @@ -123,6 +123,9 @@ class MemDb(object): result = executor.submit(self._remove, spec_or_id) return result + def clear(self): + self._remove() + pod = MemDb() test_projects = MemDb() test_cases = MemDb() |