udp:: support python3 in tests
Type: fix
@@ -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):
