aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_mtu.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-24 22:02:58 -0800
committerOle Trøan <otroan@employees.org>2018-11-25 08:40:10 +0000
commit0c79453101405245b8a4c8692cb6c1e72cb0ee63 (patch)
treeb6b58e7446ed7c0a40c1546341b390f304f2a80a /test/test_mtu.py
parent4a144b49f6b7ee51c2eb9d9e99f200b3be0d6347 (diff)
Fix Typo: test/test_mtu.py
first argument of a method should be named 'self'. Change-Id: Iab84a333baba9b9dfb6ffd6da66df4da331a6b11 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
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()