Skip to content

Commit 99977c4

Browse files
committed
test: update opnsense dnat/snat counts
1 parent 756560c commit 99977c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/firewall_test/plugins/translate/opnsense/ruleset_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ def test_opnsense_ruleset():
5454
ip_network('2a01:beef:beef:f5::1:1/128')
5555
]
5656

57-
assert len(r.chain_dnat.rules) == 0
57+
assert len(r.chain_dnat.rules) == 10
5858
assert len(r.chain_floating.rules) == 15
5959
assert len(r.chain_ni_grp.rules) == 8
6060
assert len(r.chain_ni.rules) == 82
61-
assert len(r.chain_snat.rules) == 0
61+
assert len(r.chain_snat.rules) == 10
6262

6363
# todo: mock external responses (IPLists, DNS-resolution) for stable tests
6464
# todo: validate that matches are correct..

0 commit comments

Comments
 (0)