summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-12-23 08:11:00 -0500
committerGitHub <noreply@github.com>2020-12-23 08:11:00 -0500
commitd4473065f4bb86cebdefc87e2038e4f47f033492 (patch)
tree4ac073f665c7c744034e18f1eea912b526155593 /tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
parent90cd28e91ad58a617123390b9d507e4fda96fe80 (diff)
parent5b3f46c32049f8229119bd6079c8efca85102198 (diff)
Merge pull request #7759 from qlyoung/reformat-tests-again
Reformat tests again
Diffstat (limited to 'tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py')
-rw-r--r--tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py b/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
index 607b036c6a..a9541a55c5 100644
--- a/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
+++ b/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
@@ -238,9 +238,10 @@ def test_next_hop_attribute(request):
result = verify_rib(
tgen, addr_type, dut, input_dict, protocol=protocol, expected=False
)
- assert result is not True, (
- "Testcase {} : Failed \n Error: "
- "{} routes are not present in RIB".format(addr_type, tc_name)
+ assert (
+ result is not True
+ ), "Testcase {} : Failed \n Error: " "{} routes are not present in RIB".format(
+ addr_type, tc_name
)
# Configure next-hop-self to bgp neighbor