summaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
diff options
context:
space:
mode:
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 """