summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-10-16 12:02:25 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-10-16 12:02:25 +0000
commitf7ac7b481fa3806d00aaafcf94084594eff9aefd (patch)
tree6d89020a234755b1293b923185fab68c53934bf4
parentcc8d380949f7c3b4cac4e7d1d7ed398a7fd76c06 (diff)
parent1f86189e3d942c58606814ad60fe8896695fe3fe (diff)
Merge "Do not check key in json file"
-rw-r--r--utils/test/result_collection_api/resources/handlers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/resources/handlers.py b/utils/test/result_collection_api/resources/handlers.py
index f8b26d090..27204a5b3 100644
--- a/utils/test/result_collection_api/resources/handlers.py
+++ b/utils/test/result_collection_api/resources/handlers.py
@@ -624,7 +624,8 @@ class TestResultsHandler(GenericApiHandler):
test_result = TestResult.test_result_from_dict(self.json_args)
test_result.creation_date = datetime.now()
- future = self.db.test_results.insert(test_result.format())
+ future = self.db.test_results.insert(test_result.format(),
+ check_keys=False)
result = yield future
test_result._id = result