summaryrefslogtreecommitdiffstats
path: root/test/test_mtu.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_mtu.py')
-rw-r--r--test/test_mtu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_mtu.py b/test/test_mtu.py
index e9b4ffed9c1..57d56001ee2 100644
--- a/test/test_mtu.py
+++ b/test/test_mtu.py
@@ -46,9 +46,9 @@ class TestMTU(VppTestCase):
cls.create_pg_interfaces(range(2))
cls.interfaces = list(cls.pg_interfaces)
- def setUp(cls):
- super(TestMTU, cls).setUp()
- for i in cls.interfaces:
+ def setUp(self):
+ super(TestMTU, self).setUp()
+ for i in self.interfaces:
i.admin_up()
i.config_ip4()
i.config_ip6()