summaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-03-04 23:55:43 +0100
committerOle Troan <ot@cisco.com>2019-03-04 23:55:43 +0100
commite1ade684eb5a7e5743abfda47488165452cc5b64 (patch)
tree63b4e3ccc361904b42e0020bfc16b4d110cd0095 /test/test_tcp.py
parentfd06084a9e86c5f67c4b1dc37e78a95a9bacf2a4 (diff)
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 <ot@cisco.com>
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r--test/test_tcp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py
index ff231341001..5f2bce5ae63 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -32,10 +32,10 @@ class TestTCP(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: