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 4910099 commit 21b30a7Copy full SHA for 21b30a7
1 file changed
aikido_zen/helpers/ip_matcher_fallback/init_test.py
@@ -196,3 +196,9 @@ def test_allow_all_ips():
196
assert matcher.has("10.0.0.1") == True
197
assert matcher.has("10.0.0.255") == True
198
assert matcher.has("192.168.1.1") == True
199
+
200
201
+def test_edge_cases():
202
+ matcher1 = IPMatcher(["224.0.0.0/4"])
203
+ assert matcher1.has("224.0.0.1") == True
204
+ assert matcher1.has("240.0.0.0") == False
0 commit comments