Fixed route table tests.

This commit is contained in:
Omer Katz 2014-09-29 16:13:34 +03:00
parent f3538b40d2
commit 312fa78c31

View File

@ -719,14 +719,14 @@ class BotoVpcRoutingTablesTestCase(BotoVpcTestCaseBase):
vpc = self._create_vpc() vpc = self._create_vpc()
route_table = self._create_route_table(vpc.id) route_table = self._create_route_table(vpc.id)
route_table_deletion_result = boto_vpc.delete_route_table(route_table.id) route_table_deletion_result = boto_vpc.delete_route_table(route_table.id, **conn_parameters)
self.assertTrue(route_table_deletion_result) self.assertTrue(route_table_deletion_result)
@mock_ec2 @mock_ec2
@expectedNotImplementedFailure @expectedNotImplementedFailure
def test_when_deleting_a_non_existent_route_table_the_delete_route_table_method_returns_false(self): def test_when_deleting_a_non_existent_route_table_the_delete_route_table_method_returns_false(self):
route_table_deletion_result = boto_vpc.delete_route_table('fake') route_table_deletion_result = boto_vpc.delete_route_table('fake', **conn_parameters)
self.assertFalse(route_table_deletion_result) self.assertFalse(route_table_deletion_result)