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>
This commit is contained in:
IWASE Yusuke 2017-06-23 10:31:31 +09:00 committed by FUJITA Tomonori
parent d9d0588689
commit 2edfb20884

View File

@ -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):