diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-04-09 14:24:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 14:24:22 -0400 |
| commit | 2fe49c7b3562bce6205ec8609ad9e38c95ae74a4 (patch) | |
| tree | 7151980ac5d00c52e567130d7523811c75cab44b /tests/topotests/ospf_basic_functionality/test_ospf_lan.py | |
| parent | 895e674b5cb23b666fc6a8d6dedc2dc0d933ad15 (diff) | |
| parent | 0b25370e95306a6b1631fea8d521aa6f04e75fe4 (diff) | |
Merge pull request #8429 from donaldsharp/markit
Markit
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py')
| -rw-r--r-- | tests/topotests/ospf_basic_functionality/test_ospf_lan.py | 7 |
1 files changed, 4 insertions, 3 deletions
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" |
