diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-07-28 11:22:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-28 11:22:26 -0400 |
| commit | 68b47b29d8d11a2b65e542f9ddbeb6fbdca262c7 (patch) | |
| tree | 20e41689dec539d650634f435ba5b66116d3f547 | |
| parent | 5b1c5bf2d869c6e1a6737017e078638b1e6c434f (diff) | |
| parent | 1527899504d608859eb31fbdc63b6ff331184c01 (diff) | |
Merge pull request #9104 from idryzhov/topotest-multiline
tests: fix invalid multiline format
| -rw-r--r-- | tests/topotests/bgp_basic_functionality_topo1/test_bgp_basic_functionality.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/bgp_basic_functionality_topo1/test_bgp_basic_functionality.py b/tests/topotests/bgp_basic_functionality_topo1/test_bgp_basic_functionality.py index 485a76c6b2..4753c49397 100644 --- a/tests/topotests/bgp_basic_functionality_topo1/test_bgp_basic_functionality.py +++ b/tests/topotests/bgp_basic_functionality_topo1/test_bgp_basic_functionality.py @@ -1135,9 +1135,9 @@ def test_bgp_with_loopback_with_same_subnet_p1(request): protocol = "bgp" for addr_type in ADDR_TYPES: result = verify_fib_routes(tgen, addr_type, dut, input_dict_r1) - assert result is not True, "Testcase {} : Failed \n".format(tc_name) + assert result is not True, "Testcase {} : Failed \n" "Expected behavior: routes should not present in fib \n" - "Error: {}".format(result) + "Error: {}".format(tc_name, result) step("Verify Ipv4 and Ipv6 network installed in r3 RIB but not in FIB") input_dict_r3 = { @@ -1152,9 +1152,9 @@ def test_bgp_with_loopback_with_same_subnet_p1(request): protocol = "bgp" for addr_type in ADDR_TYPES: result = verify_fib_routes(tgen, addr_type, dut, input_dict_r1) - assert result is not True, "Testcase {} : Failed \n".format(tc_name) + assert result is not True, "Testcase {} : Failed \n" "Expected behavior: routes should not present in fib \n" - "Error: {}".format(result) + "Error: {}".format(tc_name, result) write_test_footer(tc_name) |
