From 1f86189e3d942c58606814ad60fe8896695fe3fe Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Wed, 14 Oct 2015 10:50:49 +0200 Subject: 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 --- utils/test/result_collection_api/resources/handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils') 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 -- cgit 1.2.3-korg