summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-06-23 10:31:31 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-23 11:36:18 +0900
commit2edfb20884c537d64aa1cbb8bb8889b5f46eae23 (patch)
tree26ff2ae64d5c258c90ba13be79889b0847362231
parentd9d058868905af425db7da58bb3856137cb1f80a (diff)
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 <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/unit/lib/ovs/test_vsctl.py2
1 files changed, 1 insertions, 1 deletions
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):