summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-10-14 10:50:49 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-10-14 09:43:12 +0000
commit1f86189e3d942c58606814ad60fe8896695fe3fe (patch)
tree8c4211769dc024b6d15ea9d0b37d8fbd67c23eee /utils/test
parent6dce21e6d212f4680c33ffad563a56b288906518 (diff)
Do not check key in json file
to avoid warning due to . in key in Rally reports JIRA: RELENG-47 Change-Id: I204714311b9838ec09086950504046be7a29339d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test')
-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