From: Ole Troan Date: Fri, 18 Oct 2019 12:40:54 +0000 (+0200) Subject: udp:: support python3 in tests X-Git-Tag: v20.05-rc0~587 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5dc5fcf14c5b841cc02f016c2cc31ff23fcd32e8;p=vpp.git udp:: support python3 in tests Type: fix Signed-off-by: Ole Troan Change-Id: Iea19d7bc2dfe9736ddefb4419509ccfda7a67eeb --- diff --git a/test/test_udp.py b/test/test_udp.py index fc77434184c..95dddff2c17 100644 --- a/test/test_udp.py +++ b/test/test_udp.py @@ -278,9 +278,9 @@ class TestUDP(VppTestCase): table_id += 1 # Configure namespaces - self.vapi.app_namespace_add_del(namespace_id="0", + self.vapi.app_namespace_add_del(namespace_id="0".encode('ascii'), sw_if_index=self.loop0.sw_if_index) - self.vapi.app_namespace_add_del(namespace_id="1", + self.vapi.app_namespace_add_del(namespace_id="1".encode('ascii'), sw_if_index=self.loop1.sw_if_index) def tearDown(self):