summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-23 11:44:49 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-07-23 11:45:10 +0200
commitece06a28536eee7043acc7a0491accd38b05042e (patch)
treecae2021bb1fcbfdb7f1f4fe96ace16590b387a36 /test
parent092471c4dc987d4e2e4be88cc66d4c4825d7c306 (diff)
Remove logger from openstack_utils function calls
Change-Id: Iebaa6f15b16f91e451662e13e0542f863f93da52 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'test')
-rw-r--r--test/functest/testcase_1.py8
-rw-r--r--test/functest/testcase_2.py8
2 files changed, 6 insertions, 10 deletions
diff --git a/test/functest/testcase_1.py b/test/functest/testcase_1.py
index 1d245fa..6a252af 100644
--- a/test/functest/testcase_1.py
+++ b/test/functest/testcase_1.py
@@ -95,8 +95,7 @@ NUM_TESTS_FAILED = 0
def create_network(neutron_client, net, subnet, router, cidr):
- network_dic = os_utils.create_network_full(logger,
- neutron_client,
+ network_dic = os_utils.create_network_full(neutron_client,
net,
subnet,
router,
@@ -258,8 +257,7 @@ def main():
IMAGE_PATH,
disk=IMAGE_FORMAT,
container="bare",
- public=True,
- logger=logger)
+ public=True)
network_1_id = create_network(neutron_client,
NET_1_NAME,
SUBNET_1_NAME,
@@ -270,7 +268,7 @@ def main():
SUBNET_2_NAME,
ROUTER_2_NAME,
SUBNET_2_CIDR)
- sg_id = os_utils.create_security_group_full(logger, neutron_client,
+ sg_id = os_utils.create_security_group_full(neutron_client,
SECGROUP_NAME, SECGROUP_DESCR)
# Get hypervisors zones
diff --git a/test/functest/testcase_2.py b/test/functest/testcase_2.py
index 10df605..e319333 100644
--- a/test/functest/testcase_2.py
+++ b/test/functest/testcase_2.py
@@ -113,8 +113,7 @@ NUM_TESTS_FAILED = 0
def create_network(neutron_client, net, subnet1, cidr1,
router, subnet2=None, cidr2=None):
- network_dic = os_utils.create_network_full(logger,
- neutron_client,
+ network_dic = os_utils.create_network_full(neutron_client,
net,
subnet1,
router,
@@ -305,8 +304,7 @@ def main():
IMAGE_PATH,
disk=IMAGE_FORMAT,
container="bare",
- public=True,
- logger=logger)
+ public=True)
network_1_id = create_network(neutron_client,
NET_1_NAME,
SUBNET_1a_NAME,
@@ -321,7 +319,7 @@ def main():
ROUTER_2_NAME,
SUBNET_2b_NAME,
SUBNET_2b_CIDR)
- sg_id = os_utils.create_security_group_full(logger, neutron_client,
+ sg_id = os_utils.create_security_group_full(neutron_client,
SECGROUP_NAME, SECGROUP_DESCR)
# Get hypervisors zones