Skip to content

Commit eaba2bc

Browse files
committed
Fix unittest priority order.
CIDR net has less priority then specific host.
1 parent af99bac commit eaba2bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ def test_pattern_priority():
149149
]
150150
random.shuffle(matchers)
151151
assert sorted(matchers) == [
152-
build_url_pattern("all://192.168.0.1/16"),
153152
build_url_pattern("http://example.com:123"),
154153
build_url_pattern("http://example.com"),
154+
build_url_pattern("all://192.168.0.1/16"),
155155
build_url_pattern("http://"),
156156
build_url_pattern("all://"),
157157
]

0 commit comments

Comments
 (0)