diff options
author | Carlos Goncalves <carlos.goncalves@neclab.eu> | 2016-07-05 14:56:41 +0200 |
---|---|---|
committer | Carlos Goncalves <carlos.goncalves@neclab.eu> | 2016-07-05 14:59:36 +0200 |
commit | 48e4d996c0df1c1858f3f58beb9df2c254cd0ce7 (patch) | |
tree | 42982871410e1239f1fffa3539380cb1dba25683 | |
parent | d06192797130151a119d8854479eba01bbe52cce (diff) |
Fix doctor test return check
utils.functest_utils.execute_command returns 0 if no error
Change-Id: Iedc36b50521cf281a7b8da351cde9e1c8f9468bd
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
-rw-r--r-- | testcases/features/doctor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py index ca362ba6..946b0adf 100644 --- a/testcases/features/doctor.py +++ b/testcases/features/doctor.py @@ -40,7 +40,7 @@ def main(): stop_time = time.time() duration = round(stop_time - start_time, 1) - if ret: + if ret == 0: logger.info("doctor OK") test_status = 'OK' else: |