diff options
| author | Christian Hopps <chopps@labn.net> | 2021-08-23 21:40:38 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2021-08-23 21:42:20 -0400 |
| commit | e83c0fb1252b943cb5ab7fc688c9e4cbb56b21e4 (patch) | |
| tree | e3a67688081f05e0cca92f4258bc07dac3dbc7d8 /tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | |
| parent | e71f76f4fb281ca85a16a6c0661b79a70d1ecf8d (diff) | |
tests: use correct key for deleting entry.
OSPF mixes uses of "delete" and "del_action" depending on which library
function is called. It's a bug-prone mess that needs fixing; however, for
now we fix the one obvious incorrect use in this test.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_single_area.py')
| -rw-r--r-- | tests/topotests/ospf_basic_functionality/test_ospf_single_area.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py b/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py index 374d68509c..0d0668a931 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py @@ -1076,7 +1076,7 @@ def test_ospf_tc4_mtu_ignore_p0(request): ) r1_ospf_mtu = { - "r1": {"links": {"r0": {"ospf": {"mtu_ignore": True, "delete": True}}}} + "r1": {"links": {"r0": {"ospf": {"mtu_ignore": True, "del_action": True}}}} } result = config_ospf_interface(tgen, topo, r1_ospf_mtu) assert result is True, "Testcase {} :Failed \n Error: {}".format(tc_name, result) |
