From: juraj.linkes Date: Wed, 19 Sep 2018 12:59:43 +0000 (+0200) Subject: Test typo fixes X-Git-Tag: v18.10-rc1~99 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=8e26f6dbcf5a61fa2922f57edf04e1de18cdd4fc 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 --- 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 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 """