From ece06a28536eee7043acc7a0491accd38b05042e Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Sat, 23 Jul 2016 11:44:49 +0200 Subject: Remove logger from openstack_utils function calls Change-Id: Iebaa6f15b16f91e451662e13e0542f863f93da52 Signed-off-by: jose.lausuch --- test/functest/testcase_1.py | 8 +++----- test/functest/testcase_2.py | 8 +++----- 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 -- cgit 1.2.3-korg