Compare commits

..

No commits in common. "a3517a25abd2ad843887bf19158a5f6385fe1bc6" and "fda5957a047a3bef3f359818c4814c136bbae342" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
__version__ = '1.0.4'
__version__ = '1.0.3'
__description__ = 'Look up canonical information for AWS IP addresses and networks'

View File

@ -127,7 +127,8 @@ class DigAWSPrettyPrinter:
item_dict.update({'network_border_group': prefix['network_border_group']})
data.append(item_dict)
print(json.dumps(data, indent=2))
if data:
print(json.dumps(data, indent=2))
class DigAWS():

View File

@ -84,5 +84,4 @@ 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.match('^Unexpected response from')
assert e.startswith('Unexpected response from')