Skip to content

Commit

Permalink
tests: add test for required choice/np-container callbacks
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 authored and idryzhov committed Feb 25, 2024
1 parent a37f5f9 commit e5acf67
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/topotests/mgmt_config/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,23 @@ def test_regression_issue_13920(tgen):
)
output = r1.net.checkRouterCores()
assert not output.strip()


def test_regression_pullreq_15423(tgen):
r1 = tgen.gears["r1"]
r1.vtysh_multicmd(
"""
conf t
access-list test seq 1 permit ip any 10.10.10.0 0.0.0.255
"""
)

output = r1.vtysh_multicmd(
"""
conf terminal file-lock
mgmt delete-config /frr-filter:lib/access-list[name='test'][type='ipv4']/entry[sequence='1']/destination-network
mgmt commit apply
end
"""
)
assert "No changes found" not in output

0 comments on commit e5acf67

Please sign in to comment.