summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-03-29 11:05:30 -0400
committerGitHub <noreply@github.com>2023-03-29 11:05:30 -0400
commit5218d9f82fe80ad37be2c2535048fedd7ec5e64a (patch)
tree97b863ef3cd02cf05cf1b70dc90a058e2ba776a0 /tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
parentc99978f7b565ea1994ef0a0d3ea299f48314fcee (diff)
parent74dd0c84db0063db7a5efb5d1920201eb5288f41 (diff)
Merge pull request #12645 from gpnaveen/ospf_error_msg_enhancements
tests: [topojson] Update assert/error messages for ospf scripts
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_nssa.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_nssa.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py b/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
index 0c4697cc21..d669e21d4d 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
@@ -112,7 +112,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
)
@@ -220,11 +220,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 = {