From 3b010b08f85b817b2477b3cb740f7235b1f1fe04 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Tue, 24 Sep 2019 08:55:12 +0100 Subject: [PATCH] Remove security action test Remove security action test as the action has not been implemented in the charm yet. --- zaza/openstack/charm_tests/aodh/tests.py | 34 ------------------------ 1 file changed, 34 deletions(-) diff --git a/zaza/openstack/charm_tests/aodh/tests.py b/zaza/openstack/charm_tests/aodh/tests.py index 8042cea..cae30af 100644 --- a/zaza/openstack/charm_tests/aodh/tests.py +++ b/zaza/openstack/charm_tests/aodh/tests.py @@ -97,37 +97,3 @@ class AodhTest(test_utils.OpenStackBaseTest): self.services, pgrep_full=pgrep_full): logging.info("Testing pause resume") - - -class SecurityTest(test_utils.OpenStackBaseTest): - """Neutron APIsecurity tests tests.""" - - def test_security_checklist(self): - """Verify expected state with security-checklist.""" - # Changes fixing the below expected failures will be made following - # this initial work to get validation in. There will be bugs targeted - # to each one and resolved independently where possible. - - expected_failures = [ - 'validate-enables-tls', - 'validate-uses-tls-for-keystone', - ] - expected_passes = [ - 'validate-file-ownership', - 'validate-file-permissions', - 'validate-uses-keystone', - ] - - for unit in zaza.model.get_units('aodh', - model_name=self.model_name): - logging.info('Running `security-checklist` action' - ' on unit {}'.format(unit.entity_id)) - test_utils.audit_assertions( - zaza.model.run_action( - unit.entity_id, - 'security-checklist', - model_name=self.model_name, - action_params={}), - expected_passes, - expected_failures, - expected_to_pass=False)