diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-20 16:22:11 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-20 16:48:50 +0200 |
commit | 092471c4dc987d4e2e4be88cc66d4c4825d7c306 (patch) | |
tree | a9ab922c8874723ab836f59ac5deced6197080c8 /test/functest/testcase_1.py | |
parent | fdc60ac1b74b6b49c4ce3c9ad457dd3bbed260eb (diff) |
Report overall status of the test results to DB
The reporting Dashboard looks for the test case called
'bgpvpn'. Now, we report the overall status of the tests
into that test case and also each one separatelly.
http://testresults.opnfv.org/test/api/v1/results?case=bgpvpn
Also, fix the 3 flake8 violations
Change-Id: I5b0d816894bf16d3d11085437f1556b5d0446d81
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'test/functest/testcase_1.py')
-rw-r--r-- | test/functest/testcase_1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functest/testcase_1.py b/test/functest/testcase_1.py index 250db20..1d245fa 100644 --- a/test/functest/testcase_1.py +++ b/test/functest/testcase_1.py @@ -235,8 +235,8 @@ def add_to_summary(num_cols, col1, col2=""): elif num_cols == 2: SUMMARY += ("| %s" % col1.ljust(7) + "| ") SUMMARY += (col2.ljust(LINE_LENGTH - 12) + "|\n") - DETAILS.append({col2: col1}) if col1 in ("FAIL", "PASS"): + DETAILS.append({col2: col1}) NUM_TESTS += 1 if col1 == "FAIL": NUM_TESTS_FAILED += 1 |