From e1ade684eb5a7e5743abfda47488165452cc5b64 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 4 Mar 2019 23:55:43 +0100 Subject: test framework: Fix wrapper functions to match API message names. In preparation to remove the wrappers in vpp_papi_provider.py, ensure names used in tests match the actual API message names. Change-Id: I230ca4eb75aa727ff68d702e085a2edbbc6b6d19 Signed-off-by: Ole Troan --- test/test_session.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/test_session.py') diff --git a/test/test_session.py b/test/test_session.py index 3336f4de71d..5f4f3f5cfba 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -33,10 +33,10 @@ class TestSession(VppTestCase): table_id += 1 # Configure namespaces - self.vapi.app_namespace_add(namespace_id="0", - sw_if_index=self.loop0.sw_if_index) - self.vapi.app_namespace_add(namespace_id="1", - sw_if_index=self.loop1.sw_if_index) + 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", + sw_if_index=self.loop1.sw_if_index) def tearDown(self): for i in self.lo_interfaces: -- cgit 1.2.3-korg