Version and test fixes

This commit is contained in:
Claudiu Popescu 2015-03-31 14:57:47 +02:00
parent 87d5f9d789
commit 573027569c
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ def subnet_present(name, vpc_id, cidr_block, availability_zone=None, tags=None,
key=None, keyid=None, profile=None):
'''
Ensure subnet exists.
.. versionadded:: 2014.7.3
.. versionadded:: Beryllium
name
Name of the subnet.
@ -246,7 +246,7 @@ def absent(name, tags=None, region=None, key=None, keyid=None, profile=None):
def subnet_absent(name=None, subnet_id=None, region=None, key=None, keyid=None, profile=None):
'''
Ensure subnet with passed properties is absent.
.. versionadded:: 2014.7.3
.. versionadded:: Beryllium
name
Name of the subnet.

View File

@ -586,7 +586,7 @@ class BotoVpcSubnetsTestCase(BotoVpcTestCaseBase):
vpc = self._create_vpc()
subnet = self._create_subnet(vpc.id)
subnet_deletion_result = boto_vpc.delete_subnet(subnet.id, **conn_parameters)
subnet_deletion_result = boto_vpc.delete_subnet(subnet_id=subnet.id, **conn_parameters)
self.assertTrue(subnet_deletion_result)