From 092471c4dc987d4e2e4be88cc66d4c4825d7c306 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Wed, 20 Jul 2016 16:22:11 +0200 Subject: 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 --- test/functest/testcase_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functest/testcase_1.py') 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 -- cgit 1.2.3-korg