summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-04-08 13:04:26 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-04-09 08:35:05 -0400
commit0b25370e95306a6b1631fea8d521aa6f04e75fe4 (patch)
tree0daabb39ecf1d051a878e8be2153ef816a7959ff /tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
parent98ca91e18193a34791d4693c685b60d57ce56f35 (diff)
tests: More black fixups
Just another round of fixups found by running black on the code Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
index c5230d6614..e6dc18a434 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
@@ -307,10 +307,11 @@ def test_ospf_lan_ecmp_tc18_p0(request):
result = verify_ospf_rib(
tgen, dut, input_dict, next_hop=nh, attempts=5, expected=False
)
- assert result is not True, ("Testcase {} : Failed \n "
- "r1: OSPF routes are present \n Error: {}".format(
+ assert (
+ result is not True
+ ), "Testcase {} : Failed \n " "r1: OSPF routes are present \n Error: {}".format(
tc_name, result
- ))
+ )
protocol = "ospf"
result = verify_rib(
@@ -323,10 +324,11 @@ def test_ospf_lan_ecmp_tc18_p0(request):
attempts=5,
expected=False,
)
- assert result is not True, ("Testcase {} : Failed \n "
- "r1: routes are still present \n Error: {}".format(
+ assert (
+ result is not True
+ ), "Testcase {} : Failed \n " "r1: routes are still present \n Error: {}".format(
tc_name, result
- ))
+ )
write_test_footer(tc_name)