Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'skip' class for Ironic-API audit middleware tests #1228

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

MylesJP
Copy link
Contributor

@MylesJP MylesJP commented Jun 20, 2024

Charm Ironic-API does not use an api-paste.ini file so this class gives the option to skip the Keystone Audit Middleware testing.

Exercised by: https://review.opendev.org/c/openstack/charm-ironic-api/+/922144

MylesJP and others added 2 commits June 19, 2024 11:18
Added general class for testing keystone audit middleware
functionality in charms. Tests correct rendering of
api-paste.ini file and allows charms without an api-paste.ini
file to skip the tests.

Example usage with charm Heat:

tests/tests.yaml

tests:
  - zaza.openstack.charm_tests.audit.tests.KeystoneAuditMiddlewareTest

tests_options:
  audit-middleware:
    service: heat
@ajkavanagh ajkavanagh merged commit 6f9c9f7 into openstack-charmers:master Jun 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants