We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21222d4 commit 5f8921fCopy full SHA for 5f8921f
scripts/test.sh
@@ -15,4 +15,4 @@ echo ''
15
echo 'TESTING Python'
16
echo ''
17
18
-python3 -m pytest --cov
+python3 -m pytest --cov $@
src/firewall_test/plugins/translate/opnsense/ruleset_test.py
@@ -48,8 +48,8 @@ def test_opnsense_ruleset():
48
]
49
50
assert len(r.nis_ips) == 12
51
- assert r.nis_ips['lan'] == [ip_network('10.34.28.251/32')]
52
- assert r.nis_ips['opt5'] == [
+ assert r.nis_ips['lanip'] == [ip_network('10.34.28.251/32')]
+ assert r.nis_ips['opt5ip'] == [
53
ip_network('169.169.169.4/32'),
54
ip_network('2a01:beef:beef:f5::1:1/128')
55
0 commit comments