mirror of
https://github.com/dcarrillo/digaws.git
synced 2024-12-22 17:28:01 +00:00
Fix test
This commit is contained in:
parent
fda5957a04
commit
ef31af865a
@ -84,4 +84,5 @@ def test_get_aws_ip_ranges_invalid_status(mocker, fs, create_cache_dir) -> None:
|
|||||||
|
|
||||||
with pytest.raises(digaws.UnexpectedRequestException) as e:
|
with pytest.raises(digaws.UnexpectedRequestException) as e:
|
||||||
digaws.get_aws_ip_ranges()
|
digaws.get_aws_ip_ranges()
|
||||||
assert e.startswith('Unexpected response from')
|
|
||||||
|
assert e.match('^Unexpected response from')
|
||||||
|
Loading…
Reference in New Issue
Block a user