diff options
author | Leo wang <grakiss.wanglei@huawei.com> | 2017-06-13 06:05:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-13 06:05:38 +0000 |
commit | 3d64e6a44e1eb9a1664bf0594e4cb6b72912e726 (patch) | |
tree | 7396edb589090ad33f65e8d6bd5714141c7b4228 | |
parent | 2a41e07a0cf9585a88bf6f593ac6fba1d284c7ec (diff) | |
parent | 2bb7968d0ddb6ace83c3832801a277fb67d96620 (diff) |
Merge "Bugfix: KeyError when Functest fails to store results into file"
-rwxr-xr-x | dovetail/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/run.py b/dovetail/run.py index c56b343c..2ace2c20 100755 --- a/dovetail/run.py +++ b/dovetail/run.py @@ -95,10 +95,10 @@ def check_tc_result(testcase, logger): return if os.path.isfile(result_file): logger.info("Results have been stored with file %s.", result_file) - result = Report.get_result(testcase) - Report.check_result(testcase, result) else: logger.error("Fail to store results with file %s.", result_file) + result = Report.get_result(testcase) + Report.check_result(testcase, result) def validate_input(input_dict, check_dict, logger): |