Fix assertion messages to match and pass tests

This commit is contained in:
rallytime 2014-10-07 09:36:04 -06:00
parent d8e7feafce
commit 6212cfba12

View File

@ -816,7 +816,10 @@ class BotoVpcNetworkACLTestCase(BotoVpcTestCaseBase):
'''
Tests checking existence of network acl with no filters
'''
with self.assertRaisesRegexp(SaltInvocationError, 'At least on of the following must be specified: network ACL id, name or tags.'):
with self.assertRaisesRegexp(
SaltInvocationError,
'At least on of the following must be specified: dhcp options id, name or tags.'
):
boto_vpc.dhcp_options_exists(**conn_parameters)
@mock_ec2
@ -1146,7 +1149,10 @@ class BotoVpcRouteTablesTestCase(BotoVpcTestCaseBase):
'''
Tests checking route table without filters
'''
with self.assertRaisesRegexp(SaltInvocationError, 'At least on of the following must be specified: route table id, name or tags.'):
with self.assertRaisesRegexp(
SaltInvocationError,
'At least on of the following must be specified: dhcp options id, name or tags.'
):
boto_vpc.dhcp_options_exists(**conn_parameters)
@mock_ec2