Ignore RetryAttempts field generated by recent botocore versions

This commit is contained in:
Taro Sato 2016-10-16 21:50:21 -07:00
commit ed91b093cd
3 changed files with 24 additions and 17 deletions

View file

@ -57,6 +57,7 @@ def test_delete_nat_gateway():
response = conn.delete_nat_gateway(NatGatewayId=nat_gateway_id)
response['ResponseMetadata'].pop('HTTPHeaders', None) # this is hard to match against, so remove it
response['ResponseMetadata'].pop('RetryAttempts', None)
response.should.equal({
'NatGatewayId': nat_gateway_id,
'ResponseMetadata': {