aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-24 10:36:01 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-06-24 10:36:01 +0200
commitc632a09b4613bb1201cbd6b3d184f87fddb1abec (patch)
treeba7d3ca2debe52b8a5c253754a40fb1ff6afe656 /testcases
parent1ec549e52d80bcda3b0fc8bec17139d331c3bf78 (diff)
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 <morgan.richomme@orange.com>
Diffstat (limited to 'testcases')
-rw-r--r--testcases/features/promise.py4
1 files changed, 2 insertions, 2 deletions
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()