From 264aa87f2ea4e52387b671a4d5e1394d46faf5ea Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Fri, 18 Jan 2019 16:41:28 +0100 Subject: Simplify deletion test and fix unittest Removing the port groups when deleting the first chain simplifies things because we don't need port_groups to be a variable of the SfcCommonTestCase class There were also some missing unittest Change-Id: I6ae780bdc72116907a9e6037571c29f28a6ba334 Signed-off-by: Manuel Buil --- sfc/lib/openstack_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sfc/lib/openstack_utils.py') diff --git a/sfc/lib/openstack_utils.py b/sfc/lib/openstack_utils.py index 0f5da884..3d620e2b 100644 --- a/sfc/lib/openstack_utils.py +++ b/sfc/lib/openstack_utils.py @@ -43,8 +43,7 @@ class OpenStackSFC: def get_neutron_client_version(self): api_version = os.getenv('OS_NETWORK_API_VERSION') if api_version is not None: - logger.info("OS_NETWORK_API_VERSION is set in env as '%s'", - api_version) + logger.info("OS_NETWORK_API_VERSION is %s" % api_version) return api_version return DEFAULT_API_VERSION -- cgit 1.2.3-korg