From: Paul Vinciguerra Date: Tue, 27 Nov 2018 14:01:22 +0000 (-0800) Subject: Trivial: test/test_ipip.py X-Git-Tag: v19.04-rc0~273 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=741865bb76b69430eae8966f56bb657bf16a5a26 Trivial: test/test_ipip.py First argument of a method should be named 'self'. Change-Id: I7260916ce9d96108202b650dbf7ac8ce4b3aafdc Signed-off-by: Paul Vinciguerra --- diff --git a/test/test_ipip.py b/test/test_ipip.py index b7a0179957b..989330faa6f 100644 --- a/test/test_ipip.py +++ b/test/test_ipip.py @@ -41,9 +41,9 @@ class TestIPIP(VppTestCase): cls.create_pg_interfaces(range(2)) cls.interfaces = list(cls.pg_interfaces) - def setUp(cls): - super(TestIPIP, cls).setUp() - for i in cls.interfaces: + def setUp(self): + super(TestIPIP, self).setUp() + for i in self.interfaces: i.admin_up() i.config_ip4() i.config_ip6()