summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
diff options
context:
space:
mode:
authorwhitespace <nobody@nobody>2020-12-17 15:32:11 -0500
committerQuentin Young <qlyoung@nvidia.com>2020-12-17 15:32:55 -0500
commit9fa6ec14737b94fdfb41539d96c7e4f84f3514b6 (patch)
treec06ddefb8457009a86381d3a1766736ccc589278 /tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
parentff4a6e5d941b4d06848a38539a76b9b41368bbab (diff)
tests: please follow the style guide
thanks Signed-off-by: Quentin Young <qlyoung@nvidia.com>
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