Revert "Skip security_checklist test for xenial_mitaka"
This reverts commit 1210e0c47e.
Rather than using an if statement for gating xenial_mitaka
and earlier, test cases can be customized in tests/tests.yaml
for individual bundles. This will be handled in review 774305.
[0] https://review.opendev.org/c/openstack/charm-openstack-dashboard/+/774305
This commit is contained in:
@@ -535,15 +535,10 @@ class SecurityTests(test_utils.OpenStackBaseTest,
|
||||
]
|
||||
expected_passes = [
|
||||
'disable_password_autocomplete',
|
||||
'enforce-password-check',
|
||||
'validate-file-ownership',
|
||||
'validate-file-permissions'
|
||||
]
|
||||
if (openstack_utils.get_os_release() <=
|
||||
openstack_utils.get_os_release('xenial_mitaka')):
|
||||
logging.info("Test expected to fail until bug #1915293 is fixed")
|
||||
expected_failures.append('enforce-password-check')
|
||||
else:
|
||||
expected_passes.append('enforce-password-check')
|
||||
|
||||
logging.info('Running `security-checklist` action'
|
||||
' on {} leader'.format(self.application_name))
|
||||
|
||||
Reference in New Issue
Block a user