aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-13 09:57:34 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-06-13 09:57:34 +0200
commit9b8807120318bceb14fb7c1012652e04fe06b40a (patch)
tree13d8b78ed28f53f9e7d44a07fbb0884d68637a29 /testcases/features
parentdaafee5e5f14e7a8aede786f214d2e6462893935 (diff)
bug fix: end_time var does not exist to calculate duration
Change-Id: If73b6fbf022a837e4cb0190ab8074d18017ca57b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/features')
-rw-r--r--testcases/features/doctor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index c7fc848c5..ca362ba67 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -39,7 +39,7 @@ def main():
ret = functest_utils.execute_command(cmd, logger, exit_on_error=False)
stop_time = time.time()
- duration = round(end_time_ts - start_time, 1)
+ duration = round(stop_time - start_time, 1)
if ret:
logger.info("doctor OK")
test_status = 'OK'