diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-25 18:49:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-25 19:15:17 +0200 |
commit | dc864082ef896faa7adba8312d782d7066492aa7 (patch) | |
tree | f25fe122f2dc2c687dbbd7a95834f22b5695b8e6 /smoketest/scripts/cli/test_vpn_ipsec.py | |
parent | 62b53b098a9b401842e3ca55782bf496cabe62af (diff) | |
download | vyos-1x-dc864082ef896faa7adba8312d782d7066492aa7.tar.gz vyos-1x-dc864082ef896faa7adba8312d782d7066492aa7.zip |
smoketest: bugfix on proper inheritance levels for classmethod
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_ipsec.py')
-rwxr-xr-x | smoketest/scripts/cli/test_vpn_ipsec.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_vpn_ipsec.py b/smoketest/scripts/cli/test_vpn_ipsec.py index 1338fe81c..8a6514d57 100755 --- a/smoketest/scripts/cli/test_vpn_ipsec.py +++ b/smoketest/scripts/cli/test_vpn_ipsec.py @@ -114,7 +114,7 @@ rgiyCHemtMepq57Pl1Nmj49eEA== class TestVPNIPsec(VyOSUnitTestSHIM.TestCase): @classmethod def setUpClass(cls): - super(cls, cls).setUpClass() + super(TestVPNIPsec, cls).setUpClass() # ensure we can also run this test on a live system - so lets clean # out the current configuration :) cls.cli_delete(cls, base_path) @@ -123,8 +123,7 @@ class TestVPNIPsec(VyOSUnitTestSHIM.TestCase): @classmethod def tearDownClass(cls): - super(cls, cls).tearDownClass() - + super(TestVPNIPsec, cls).tearDownClass() cls.cli_delete(cls, base_path + ['interface', f'{interface}.{vif}']) def setUp(self): |