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/ospf_basic_functionality/test_ospf_nssa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_nssa.py') diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py b/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py index 7391379bb9..42d1eb0ad2 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py @@ -125,7 +125,7 @@ def setup_module(mod): pytest.skip(tgen.errors) # Api call verify whether OSPF is converged ospf_covergence = verify_ospf_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 ) @@ -233,11 +233,11 @@ def test_ospf_learning_tc15_p0(request): assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result) ospf_covergence = verify_ospf_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 ) - step("Change area 1 as non nssa area (on the fly changing area" " type on DUT).") + step("Change area 1 as non nssa area (on the fly changing area type on DUT).") for rtr in ["r1", "r2", "r3"]: input_dict = { -- cgit v1.2.3