summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py
diff options
context:
space:
mode:
authornguggarigoud <nguggarigoud@vmware.com>2023-01-16 22:34:06 -0800
committerNaveen Guggarigoudar <nguggarigoud@vmware.com>2023-03-26 14:37:49 +0000
commit74dd0c84db0063db7a5efb5d1920201eb5288f41 (patch)
tree3348403a6a2f5454515d24a0a2fabc03c771c431 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py
parent2273550f04a8255ea6df76c0aa8952eb85a01a84 (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_nssa2.py')
-rw-r--r--tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py
index 4cccd9734f..b7af896251 100644
--- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py
+++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_nssa2.py
@@ -151,7 +151,7 @@ def setup_module(mod):
# 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, "setup_module :Failed \n Error: {}".format(
ospf_covergence
)
@@ -290,7 +290,7 @@ def test_ospfv3_nssa_tc26_p0(request):
result = verify_ospf6_neighbor(tgen, topo, dut="r2", expected=False)
assert (
result is not True
- ), "Testcase {} : Failed \n Nbrs are not down" "Error: {}".format(tc_name, result)
+ ), "Testcase {} : Failed \n Nbrs are not down Error: {}".format(tc_name, result)
step("Now configure area 0 on interface of r1 connecting to r2.")
@@ -362,7 +362,7 @@ def test_ospfv3_nssa_tc26_p0(request):
result = verify_ospf6_neighbor(tgen, topo, dut="r2", expected=False)
assert (
result is not True
- ), "Testcase {} : Failed \n Nbrs are not down" "Error: {}".format(tc_name, result)
+ ), "Testcase {} : Failed \n Nbrs are not down Error: {}".format(tc_name, result)
step("Now configure area 2 on interface of r1 connecting to r2.")
@@ -484,7 +484,7 @@ def test_ospfv3_learning_tc15_p0(request):
result = verify_ospf6_neighbor(tgen, topo)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
- 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 = {