Skip to content

Commit

Permalink
Merge pull request #1228 from MylesJP/pr-1226
Browse files Browse the repository at this point in the history
Add 'skip' class for Ironic-API audit middleware tests
  • Loading branch information
ajkavanagh authored Jun 20, 2024
2 parents 6f4c918 + 4a956e0 commit 6f9c9f7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 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,15 @@ 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):
"""Test api-paste.ini renders audit section when enabled."""
self.skipTest('ironic-api does not use an api-paste.ini file')

def test_102_apipaste_excludes_audit_section(self):
"""Test api_paste.ini does not render audit section when disabled."""
self.skipTest('ironic-api does not use an api-paste.ini file')

0 comments on commit 6f9c9f7

Please sign in to comment.