Cleanup headers popping.

This commit is contained in:
Steve Pulec 2016-07-24 09:50:39 -04:00
commit ae938223d4
3 changed files with 19 additions and 19 deletions

View file

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