diff options
| author | Christian Hopps <chopps@labn.net> | 2021-09-03 08:47:30 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2021-09-04 09:04:47 -0400 |
| commit | a53c08bc131c02f4a20931d7aa9f974194ab16e7 (patch) | |
| tree | 2c48ef7c757706d47ac5b999bf667166bc1c2e1a /tests/topotests/bgp_as_allow_in | |
| parent | 4953ca977f3a5de8109ee6353ad07f816ca1774c (diff) | |
tests: cleanup: rerun changed files through black
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/bgp_as_allow_in')
| -rw-r--r-- | tests/topotests/bgp_as_allow_in/test_bgp_as_allow_in.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/topotests/bgp_as_allow_in/test_bgp_as_allow_in.py b/tests/topotests/bgp_as_allow_in/test_bgp_as_allow_in.py index 9b789f4eac..961d72bd15 100644 --- a/tests/topotests/bgp_as_allow_in/test_bgp_as_allow_in.py +++ b/tests/topotests/bgp_as_allow_in/test_bgp_as_allow_in.py @@ -242,9 +242,9 @@ def test_bgp_allowas_in_p0(request): expected=False, ) assert result is not True, ( - "Testcase {} : Failed \n".format(tc_name) + - "Expected behavior: routes should not present in rib \n" + - "Error: {}".format(result) + "Testcase {} : Failed \n".format(tc_name) + + "Expected behavior: routes should not present in rib \n" + + "Error: {}".format(result) ) step("Configure allowas-in on R3 for R2.") @@ -389,9 +389,9 @@ def test_bgp_allowas_in_per_addr_family_p0(request): tgen, "ipv6", dut, static_route_ipv6, protocol=protocol, expected=False ) assert result is not True, ( - "Testcase {} : Failed \n".format(tc_name) + - "Expected behavior: routes are should not be present in ipv6 rib\n" + - " Error: {}".format(result) + "Testcase {} : Failed \n".format(tc_name) + + "Expected behavior: routes are should not be present in ipv6 rib\n" + + " Error: {}".format(result) ) step("Repeat the same test for IPv6 AFI.") @@ -439,9 +439,9 @@ def test_bgp_allowas_in_per_addr_family_p0(request): tgen, "ipv4", dut, static_route_ipv4, protocol=protocol, expected=False ) assert result is not True, ( - "Testcase {} : Failed \n".format(tc_name) + - "Expected behavior: routes should not be present in ipv4 rib\n" + - " Error: {}".format(result) + "Testcase {} : Failed \n".format(tc_name) + + "Expected behavior: routes should not be present in ipv4 rib\n" + + " Error: {}".format(result) ) result = verify_rib(tgen, "ipv6", dut, static_route_ipv6, protocol=protocol) assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result) @@ -595,9 +595,9 @@ def test_bgp_allowas_in_no_of_occurrences_p0(request): tgen, addr_type, dut, static_routes, protocol=protocol, expected=False ) assert result is not True, ( - "Testcase {} : Failed \n ".format(tc_name) + - "Expected behavior: routes are should not be present in rib\n" + - "Error: {}".format(result) + "Testcase {} : Failed \n ".format(tc_name) + + "Expected behavior: routes are should not be present in rib\n" + + "Error: {}".format(result) ) for addr_type in ADDR_TYPES: |
