From 0b25370e95306a6b1631fea8d521aa6f04e75fe4 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 8 Apr 2021 13:04:26 -0400 Subject: tests: More black fixups Just another round of fixups found by running black on the code Signed-off-by: Donald Sharp --- tests/topotests/ospf_basic_functionality/test_ospf_lan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py') diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py index 2fbb27f4fc..d9b90a132a 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py @@ -397,10 +397,11 @@ def test_ospf_lan_tc1_p0(request): shutdown_bringup_interface(tgen, dut, intf, False) result = verify_ospf_neighbor(tgen, topo, dut, lan=True, expected=False) - assert result is not True, ("Testcase {} : Failed \n " - "r0: OSPF neighbors-hip is up \n Error: {}".format( + assert ( + result is not True + ), "Testcase {} : Failed \n " "r0: OSPF neighbors-hip is up \n Error: {}".format( tc_name, result - )) + ) step("No Shut interface on R0") dut = "r0" -- cgit v1.2.3