mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Version and test fixes
This commit is contained in:
parent
87d5f9d789
commit
573027569c
@ -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.
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user