aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_udp.py4
1 files changed, 2 insertions, 2 deletions
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):