summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_firewall.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-25 18:49:20 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-25 19:15:17 +0200
commitdc864082ef896faa7adba8312d782d7066492aa7 (patch)
treef25fe122f2dc2c687dbbd7a95834f22b5695b8e6 /smoketest/scripts/cli/test_firewall.py
parent62b53b098a9b401842e3ca55782bf496cabe62af (diff)
downloadvyos-1x-dc864082ef896faa7adba8312d782d7066492aa7.tar.gz
vyos-1x-dc864082ef896faa7adba8312d782d7066492aa7.zip
smoketest: bugfix on proper inheritance levels for classmethod
Diffstat (limited to 'smoketest/scripts/cli/test_firewall.py')
-rwxr-xr-xsmoketest/scripts/cli/test_firewall.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_firewall.py b/smoketest/scripts/cli/test_firewall.py
index 5448295fa..37e6b9e7a 100755
--- a/smoketest/scripts/cli/test_firewall.py
+++ b/smoketest/scripts/cli/test_firewall.py
@@ -38,7 +38,7 @@ sysfs_config = {
class TestFirewall(VyOSUnitTestSHIM.TestCase):
@classmethod
def setUpClass(cls):
- super(cls, cls).setUpClass()
+ super(TestFirewall, cls).setUpClass()
# ensure we can also run this test on a live system - so lets clean
# out the current configuration :)
@@ -49,8 +49,7 @@ class TestFirewall(VyOSUnitTestSHIM.TestCase):
@classmethod
def tearDownClass(cls):
cls.cli_delete(cls, ['interfaces', 'ethernet', 'eth0', 'address', '172.16.10.1/24'])
-
- super(cls, cls).tearDownClass()
+ super(TestFirewall, cls).tearDownClass()
def tearDown(self):
self.cli_delete(['interfaces', 'ethernet', 'eth0', 'firewall'])