We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b34d8f0 commit 17979f2Copy full SHA for 17979f2
tests/integration/test_server.py
@@ -130,7 +130,7 @@ def test_remove_and_replace_impostor_from_running_server(mock_server):
130
other_impostors = [i for i in initial if i.name != "egg"]
131
server.delete_impostor(egg_impostor)
132
133
- with pytest.raises(httpx.ConnectError, match="Connection refused"):
+ with pytest.raises(httpx.ConnectError, match=r"(?i)connection"):
134
httpx.get(f"{egg_impostor.url}/test")
135
responses = [httpx.get(f"{i.url}/test") for i in other_impostors]
136
assert_that(
0 commit comments