summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-27 06:01:22 -0800
committerOle Trøan <otroan@employees.org>2018-11-29 17:32:59 +0000
commit741865bb76b69430eae8966f56bb657bf16a5a26 (patch)
tree971b7197deebfe95b095ca1dd92d7942bc8aaece /test
parentc9aa7db825c2c6cf81d85340571d1886cc035cc6 (diff)
Trivial: test/test_ipip.py
First argument of a method should be named 'self'. Change-Id: I7260916ce9d96108202b650dbf7ac8ce4b3aafdc Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_ipip.py6
1 files changed, 3 insertions, 3 deletions
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()