Fix tests

Change-Id: Ib6eacaa0df53579ab34ef5844c1eb70dc1a2cc79
This commit is contained in:
Dmitry-Eremeev-progmaticlab@yandex.ru 2020-02-03 17:30:42 +00:00
parent a80407fcee
commit 4e58bbd705
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class NetworkInterfaceTest(base.EC2TestCase):
except botocore.exceptions.ClientError as e: except botocore.exceptions.ClientError as e:
error_code = e.response['Error']['Code'] error_code = e.response['Error']['Code']
self.assertEqual('InsufficientFreeAddressesInSubnet', self.assertEqual('InsufficientFreeAddressesInSubnet',
error_code, e.message) error_code)
break break
ni_id = data['NetworkInterface']['NetworkInterfaceId'] ni_id = data['NetworkInterface']['NetworkInterfaceId']
res_clean = self.addResourceCleanUp( res_clean = self.addResourceCleanUp(