diff options
author | 2018-08-29 13:46:49 +0200 | |
---|---|---|
committer | 2018-08-29 18:50:09 +0000 | |
commit | 1aa97f4a6fa2aada3b63c3616c149484052e0e33 (patch) | |
tree | 5eab1c0cbe2f16614d6172e5bf219915a49bc610 | |
parent | 4d26d88cd9baeaf35084ab59528223692ad6df25 (diff) |
Bug fix: Bad usage of positional argument
av_zone is passed as a positional argument, however, the create_instance
method does not define av_zone as positional:
https://github.com/opnfv/sfc/blob/master/sfc/lib/openstack_utils.py#L136-L137
so we should not pass it as a positional argument
Change-Id: I035012ef3ffce3318e0bece712cb6bdad8e8cdd0
Signed-off-by: Manuel Buil <mbuil@suse.com>
-rw-r--r-- | sfc/tests/functest/sfc_parent_function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfc/tests/functest/sfc_parent_function.py b/sfc/tests/functest/sfc_parent_function.py index aa08e831..62e6fe18 100644 --- a/sfc/tests/functest/sfc_parent_function.py +++ b/sfc/tests/functest/sfc_parent_function.py @@ -170,13 +170,13 @@ class SfcCommonTestCase(object): openstack_sfc.create_instance(SERVER, COMMON_CONFIG.flavor, self.image_creator, self.network, self.sg, - av_zone=self.test_topology['server']) + self.test_topology['server']) self.client_instance, self.client_creator = \ openstack_sfc.create_instance(CLIENT, COMMON_CONFIG.flavor, self.image_creator, self.network, self.sg, - av_zone=self.test_topology['client']) + self.test_topology['client']) logger.info('This test is run with the topology {0}'.format( self.test_topology['id'])) logger.info('Topology description: {0}'.format( |