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>
This commit is contained in:

committed by
Damjan Marion

parent
74447d4fc5
commit
8e26f6dbcf
@ -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"))
|
||||
|
@ -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):
|
||||
|
@ -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 """
|
||||
|
Reference in New Issue
Block a user