From 2edfb20884c537d64aa1cbb8bb8889b5f46eae23 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Fri, 23 Jun 2017 10:31:31 +0900 Subject: test_vsctl: Strip unexpected double quote This patch removes unexpected double quote around IP address in OVSDB_SWITCH_ADDR. e.g.) NG: tcp:"172.17.0.2":6640 OK: tcp:172.17.0.2:6640 Signed-off-by: IWASE Yusuke Signed-off-by: FUJITA Tomonori --- ryu/tests/unit/lib/ovs/test_vsctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/unit/lib/ovs/test_vsctl.py b/ryu/tests/unit/lib/ovs/test_vsctl.py index d32a536b..28edf6e9 100644 --- a/ryu/tests/unit/lib/ovs/test_vsctl.py +++ b/ryu/tests/unit/lib/ovs/test_vsctl.py @@ -83,7 +83,7 @@ class TestVSCtl(unittest.TestCase): def _docker_inspect_ip_addr(cls, container): return _run( 'docker inspect --format="{{.NetworkSettings.IPAddress}}" %s' % - container)[0] + container)[0].strip('"') @classmethod def _set_up_mn_container(cls): -- cgit v1.2.3