aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2018-09-19 14:59:43 +0200
committerDamjan Marion <dmarion@me.com>2018-09-27 12:08:02 +0000
commit8e26f6dbcf5a61fa2922f57edf04e1de18cdd4fc (patch)
treeaf5c4219863a208848f47f483443fe2b0d1825e1
parent74447d4fc5f5ff1bbde8c0cab26b3aade0548da4 (diff)
Test typo fixes
Renamed one acl testcase class which was copy-pasted and fixed one inheritance issue. Renamed one bihash testcase class. Change-Id: I70d911ee7872d8d9ddba96c7f721dd099f0152f7 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
-rw-r--r--test/test_acl_plugin_l2l3.py8
-rw-r--r--test/test_acl_plugin_macip.py2
-rw-r--r--test/test_bihash.py8
3 files changed, 9 insertions, 9 deletions
diff --git a/test/test_acl_plugin_l2l3.py b/test/test_acl_plugin_l2l3.py
index 8e6b9e30650..85b7e5845a7 100644
--- a/test/test_acl_plugin_l2l3.py
+++ b/test/test_acl_plugin_l2l3.py
@@ -40,8 +40,8 @@ from vpp_papi_provider import L2_PORT_TYPE
import time
-class TestAclIpIrb(VppTestCase):
- """IRB Test Case"""
+class TestACLpluginL2L3(VppTestCase):
+ """TestACLpluginL2L3 Test Case"""
@classmethod
def setUpClass(cls):
@@ -53,7 +53,7 @@ class TestAclIpIrb(VppTestCase):
#. Loopback BVI interface has remote hosts, one half of hosts are
behind pg0 second behind pg1.
"""
- super(TestAclIpIrb, cls).setUpClass()
+ super(TestACLpluginL2L3, cls).setUpClass()
cls.pg_if_packet_sizes = [64, 512, 1518, 9018] # packet sizes
cls.bd_id = 10
@@ -108,7 +108,7 @@ class TestAclIpIrb(VppTestCase):
``show l2fib verbose``,``show bridge-domain <bd_id> detail``,
``show ip arp``.
"""
- super(TestAclIpIrb, self).tearDown()
+ super(TestACLpluginL2L3, self).tearDown()
if not self.vpp_dead:
self.logger.info(self.vapi.cli("show l2patch"))
self.logger.info(self.vapi.cli("show classify tables"))
diff --git a/test/test_acl_plugin_macip.py b/test/test_acl_plugin_macip.py
index 611bc73e312..224bc31c0b2 100644
--- a/test/test_acl_plugin_macip.py
+++ b/test/test_acl_plugin_macip.py
@@ -144,7 +144,7 @@ class MethodHolder(VppTestCase):
cls.subifs[3].remote_hosts = cls.loop0.remote_hosts[175:]
except Exception:
- super(TestMACIP, cls).tearDownClass()
+ super(MethodHolder, cls).tearDownClass()
raise
def setUp(self):
diff --git a/test/test_bihash.py b/test/test_bihash.py
index a5cf065735f..ff2a898dae3 100644
--- a/test/test_bihash.py
+++ b/test/test_bihash.py
@@ -6,18 +6,18 @@ from framework import VppTestCase, VppTestRunner
from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath
-class TestTCP(VppTestCase):
+class TestBihash(VppTestCase):
""" Bihash Test Cases """
@classmethod
def setUpClass(cls):
- super(TestTCP, cls).setUpClass()
+ super(TestBihash, cls).setUpClass()
def setUp(self):
- super(TestTCP, self).setUp()
+ super(TestBihash, self).setUp()
def tearDown(self):
- super(TestTCP, self).tearDown()
+ super(TestBihash, self).tearDown()
def test_bihash_unittest(self):
""" Bihash Add/Del Test """