From 5e2fbf96399e395ed397305e560567142235a462 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Wed, 18 Sep 2019 16:49:18 +0200 Subject: [PATCH] Fix class super calls --- zaza/openstack/charm_tests/policyd/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaza/openstack/charm_tests/policyd/tests.py b/zaza/openstack/charm_tests/policyd/tests.py index 17b4369..0131b65 100644 --- a/zaza/openstack/charm_tests/policyd/tests.py +++ b/zaza/openstack/charm_tests/policyd/tests.py @@ -38,13 +38,13 @@ class PolicydTest(test_utils.OpenStackBaseTest): """ def setUpClass(cls, application_name=None): - super().setUpClass(application_name) + super(PolicydTest, cls).setUpClass(application_name) cls._tmp_dir = tempfile.mkdtemp() cls._service_name = \ cls.test_config['tests_options']['policyd']['service'] def tearDownClass(cls): - super().tearDownClass() + super(PolicydTest, cls).tearDownClass() try: shutil.rmtree(cls._tmp_dir, ignore_errors=True) except Exception as e: