From 7f9b7f9f492d1748d8ba025b3a713058fdb1943d Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 12 Mar 2019 19:23:27 -0700 Subject: Tests Cleanup: Fix missing calls to setUpClass/tearDownClass. Continuation/Part 2 of https://gerrit.fd.io/r/#/c/17092/ Change-Id: Id0122d84eaf2c05d29e5be63a594d5e528ee7c9a Signed-off-by: Paul Vinciguerra --- test/test_gbp.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test/test_gbp.py') diff --git a/test/test_gbp.py b/test/test_gbp.py index df529c6c880..73acfdf5346 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -575,6 +575,14 @@ class VppGbpAcl(VppObject): class TestGBP(VppTestCase): """ GBP Test Case """ + @classmethod + def setUpClass(cls): + super(TestGBP, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestGBP, cls).tearDownClass() + def setUp(self): super(TestGBP, self).setUp() @@ -1563,7 +1571,7 @@ class TestGBP(VppTestCase): self.pg2.remote_hosts[0].ip4, 99)) - # epg is not learnt, because the EPG is unknwon + # epg is not learnt, because the EPG is unknown self.assertEqual(len(self.vapi.gbp_endpoint_dump()), 1) # -- cgit 1.2.3-korg