From b4e5e50fe898bf905aa7087e17740394b97e5cf9 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Fri, 31 Jan 2020 09:35:29 +0100 Subject: session: API cleanup Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar Change-Id: Ib752a3425c076eb53bc5255a48039cbb74b1fcce Signed-off-by: Jakub Grajciar --- test/test_udp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_udp.py') diff --git a/test/test_udp.py b/test/test_udp.py index af64f8ae704..5336675c79d 100644 --- a/test/test_udp.py +++ b/test/test_udp.py @@ -277,9 +277,9 @@ class TestUDP(VppTestCase): table_id += 1 # Configure namespaces - self.vapi.app_namespace_add_del(namespace_id="0".encode('ascii'), + self.vapi.app_namespace_add_del(namespace_id="0", sw_if_index=self.loop0.sw_if_index) - self.vapi.app_namespace_add_del(namespace_id="1".encode('ascii'), + self.vapi.app_namespace_add_del(namespace_id="1", sw_if_index=self.loop1.sw_if_index) def tearDown(self): -- cgit 1.2.3-korg