From c632a09b4613bb1201cbd6b3d184f87fddb1abec Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 24 Jun 2016 10:36:01 +0200 Subject: bug fix: duplicate start_date var with different type mix between the var and its display value leads to problem when pushing the results to the DB Change-Id: I582785f38f35add1251b58491843b4f3f20a3ff8 Signed-off-by: Morgan Richomme --- testcases/features/promise.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testcases') diff --git a/testcases/features/promise.py b/testcases/features/promise.py index 7f034643b..fe1547af9 100644 --- a/testcases/features/promise.py +++ b/testcases/features/promise.py @@ -215,7 +215,7 @@ def main(): passes = json_data["stats"]["passes"] pending = json_data["stats"]["pending"] failures = json_data["stats"]["failures"] - start_time = json_data["stats"]["start"] + start_time_json = json_data["stats"]["start"] end_time = json_data["stats"]["end"] duration = float(json_data["stats"]["duration"]) / float(1000) @@ -233,7 +233,7 @@ def main(): " Duration:\t%s\n" "****************************************\n\n" % (suites, tests, passes, pending, failures, - start_time, end_time, duration)) + start_time_json, end_time, duration)) if args.report: stop_time = time.time() -- cgit 1.2.3-korg