diff options
author | 2015-10-14 10:50:49 +0200 | |
---|---|---|
committer | 2015-10-14 09:43:12 +0000 | |
commit | 1f86189e3d942c58606814ad60fe8896695fe3fe (patch) | |
tree | 8c4211769dc024b6d15ea9d0b37d8fbd67c23eee /utils/test/result_collection_api/resources | |
parent | 6dce21e6d212f4680c33ffad563a56b288906518 (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/result_collection_api/resources')
-rw-r--r-- | utils/test/result_collection_api/resources/handlers.py | 3 |
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 |