This commit is contained in:
Daniel Carrillo 2021-02-19 17:45:07 +01:00
parent fda5957a04
commit ef31af865a
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 2 additions and 1 deletions

View File

@ -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:
digaws.get_aws_ip_ranges()
assert e.startswith('Unexpected response from')
assert e.match('^Unexpected response from')