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 f6dec32 commit 90f4f59Copy full SHA for 90f4f59
tests/test_setup.py
@@ -12,7 +12,7 @@ def test_block_unmocked_requests():
12
"""Ensure the `block_unmocked_requests` fixture prevents requests from hitting the network."""
13
url = 'https://example.com'
14
15
- with pytest.raises(RuntimeError, message='Tests must mock all HTTP requests!'):
+ with pytest.raises(RuntimeError, match='Tests must mock all HTTP requests!'):
16
fetch_text(url)
17
18
with responses.RequestsMock() as rsps:
0 commit comments