Skip to content

Commit

Permalink
Fix class super calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkavanagh committed Sep 25, 2019
1 parent 028956d commit 5e2fbf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zaza/openstack/charm_tests/policyd/tests.py
Expand Up @@ -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:
Expand Down

0 comments on commit 5e2fbf9

Please sign in to comment.