Skip to content

Commit 17979f2

Browse files
committed
Windows messages differ.
1 parent b34d8f0 commit 17979f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_remove_and_replace_impostor_from_running_server(mock_server):
130130
other_impostors = [i for i in initial if i.name != "egg"]
131131
server.delete_impostor(egg_impostor)
132132

133-
with pytest.raises(httpx.ConnectError, match="Connection refused"):
133+
with pytest.raises(httpx.ConnectError, match=r"(?i)connection"):
134134
httpx.get(f"{egg_impostor.url}/test")
135135
responses = [httpx.get(f"{i.url}/test") for i in other_impostors]
136136
assert_that(

0 commit comments

Comments
 (0)