Skip to content

Commit 21b30a7

Browse files
committed
test edge case again
1 parent 4910099 commit 21b30a7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

aikido_zen/helpers/ip_matcher_fallback/init_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,9 @@ def test_allow_all_ips():
196196
assert matcher.has("10.0.0.1") == True
197197
assert matcher.has("10.0.0.255") == True
198198
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

Comments
 (0)