Skip to content

Commit

Permalink
Add audit middleware test class for ironic-api
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesJP committed Jun 17, 2024
1 parent 73374a0 commit cea5466
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions zaza/openstack/charm_tests/audit/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,13 @@ def test_102_apipaste_excludes_audit_section(self):
application_name=self.application_name):
api_paste_content = self.fetch_api_paste_content()
self.assertNotIn(section_heading, api_paste_content)


class IronicAuditMiddlewareTest(KeystoneAuditMiddlewareTest):
"""Ironic-API audit middleware test class."""

def test_101_apipaste_includes_audit_section(self):
self.skipTest('ironic-api does not use an api-paste.ini file')

def test_102_apipaste_excludes_audit_section(self):
self.skipTest('ironic-api does not use an api-paste.ini file')

0 comments on commit cea5466

Please sign in to comment.