diff options
| author | nguggarigoud <nguggarigoud@vmware.com> | 2023-01-16 22:34:06 -0800 |
|---|---|---|
| committer | Naveen Guggarigoudar <nguggarigoud@vmware.com> | 2023-03-26 14:37:49 +0000 |
| commit | 74dd0c84db0063db7a5efb5d1920201eb5288f41 (patch) | |
| tree | 3348403a6a2f5454515d24a0a2fabc03c771c431 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py | |
| parent | 2273550f04a8255ea6df76c0aa8952eb85a01a84 (diff) | |
tests: [topojson] Update assert/error messages
Few assert/error messages are updated for test
scripts for better debugging.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py')
| -rw-r--r-- | tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py index 5cbfb0d6e1..6d6e767497 100644 --- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py +++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py @@ -141,7 +141,7 @@ def setup_module(mod): pytest.skip(tgen.errors) # Api call verify whether OSPF is converged ospf_covergence = verify_ospf6_neighbor(tgen, topo, lan=True) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "setup_module :Failed \n Error: {}".format( ospf_covergence ) @@ -295,7 +295,7 @@ def test_ospfv3_lan_ecmp_tc18_p0(request): step("Verify that OSPF is up with 8 neighborship sessions.") ospf_covergence = verify_ospf6_neighbor(tgen, topo, lan=True) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "Testcase Failed \n Error: {}".format( ospf_covergence ) @@ -356,7 +356,7 @@ def test_ospfv3_lan_ecmp_tc18_p0(request): dut = "r0" ospf_covergence = verify_ospf6_neighbor(tgen, topo, dut=dut, lan=True) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "Testcase Failed \n Error: {}".format( ospf_covergence ) @@ -365,7 +365,7 @@ def test_ospfv3_lan_ecmp_tc18_p0(request): dut = "r2" ospf_covergence = verify_ospf6_neighbor(tgen, topo, dut=dut, lan=True) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "Testcase Failed \n Error: {}".format( ospf_covergence ) |
