summaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-11-24 11:22:01 +0100
committerJakub Grajciar <jgrajcia@cisco.com>2020-11-24 11:24:53 +0100
commit6a2794ea2b8cb439308c3991e2ec57e158cdc7c9 (patch)
tree6e477f701588980e9660d7a26d69af37a16891f2 /test/test_tcp.py
parent473556dcf13bd7e1d8165563ebe5cd97aa5e6c12 (diff)
tests: remove bond, pipe, session and api_namespace from vpp_papi_provider
Type: refactor Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I5052fc1fd82b5d17c1ed66fee5185addf60b9eb6
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 40579e284e4..f8e51057d38 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -19,7 +19,7 @@ class TestTCP(VppTestCase):
def setUp(self):
super(TestTCP, self).setUp()
- self.vapi.session_enable_disable(is_enabled=1)
+ self.vapi.session_enable_disable(is_enable=1)
self.create_loopback_interfaces(2)
table_id = 0
@@ -46,7 +46,7 @@ class TestTCP(VppTestCase):
i.unconfig_ip4()
i.set_table_ip4(0)
i.admin_down()
- self.vapi.session_enable_disable(is_enabled=0)
+ self.vapi.session_enable_disable(is_enable=0)
super(TestTCP, self).tearDown()
def test_tcp_transfer(self):
@@ -97,11 +97,11 @@ class TestTCPUnitTests(VppTestCase):
def setUp(self):
super(TestTCPUnitTests, self).setUp()
- self.vapi.session_enable_disable(is_enabled=1)
+ self.vapi.session_enable_disable(is_enable=1)
def tearDown(self):
super(TestTCPUnitTests, self).tearDown()
- self.vapi.session_enable_disable(is_enabled=0)
+ self.vapi.session_enable_disable(is_enable=0)
def test_tcp_unittest(self):
""" TCP Unit Tests """