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