From 74dd0c84db0063db7a5efb5d1920201eb5288f41 Mon Sep 17 00:00:00 2001 From: nguggarigoud Date: Mon, 16 Jan 2023 22:34:06 -0800 Subject: tests: [topojson] Update assert/error messages Few assert/error messages are updated for test scripts for better debugging. Signed-off-by: nguggarigoud --- tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py') diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py index e5b20db6de..91a362f605 100644 --- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py +++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_rte_calc.py @@ -133,7 +133,7 @@ def setup_module(mod): pytest.skip(tgen.errors) ospf_covergence = verify_ospf6_neighbor(tgen, topo) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "setup_module :Failed \n Error: {}".format( ospf_covergence ) @@ -269,7 +269,7 @@ def test_ospfv3_redistribution_tc5_p0(request): step("Verify that OSPF neighbors are FULL.") ospf_covergence = verify_ospf6_neighbor(tgen, topo) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "Testcase Failed \n Error: {}".format( ospf_covergence ) @@ -629,7 +629,7 @@ def test_ospfv3_redistribution_tc8_p1(request): step("Verify that OSPF neighbours are reset and forms new adjacencies.") # Api call verify whether OSPF is converged ospf_covergence = verify_ospf6_neighbor(tgen, topo) - assert ospf_covergence is True, "setup_module :Failed \n Error:" " {}".format( + assert ospf_covergence is True, "Testcase Failed \n Error: {}".format( ospf_covergence ) -- cgit v1.2.3