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=refs%2Fchanges%2F35%2F22835%2F1;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):