Fix unused parameters in _create_subnet method

Fix unused parameters in _create_subnet method

Change-Id: I505630d503040f817d460c3410587c28d764773c
This commit is contained in:
likangkang01 2021-09-09 08:54:04 +08:00
parent 7d22b1f6b7
commit b87ef29b86
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ class PortsTestJSON(sec_base.BaseSecGroupTest):
def _create_subnet(self, network, gateway='',
cidr=None, mask_bits=None, **kwargs):
subnet = self.create_subnet(network, gateway, cidr, mask_bits)
subnet = self.create_subnet(
network, gateway, cidr, mask_bits, **kwargs)
self.addCleanup(test_utils.call_and_ignore_notfound_exc,
self.subnets_client.delete_subnet, subnet['id'])
return subnet