File tree 1 file changed +12
-0
lines changed
zaza/openstack/charm_tests/audit
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -105,3 +105,15 @@ def test_102_apipaste_excludes_audit_section(self):
105
105
application_name = self .application_name ):
106
106
api_paste_content = self .fetch_api_paste_content ()
107
107
self .assertNotIn (section_heading , api_paste_content )
108
+
109
+
110
+ class IronicAuditMiddlewareTest (KeystoneAuditMiddlewareTest ):
111
+ """Ironic-API audit middleware test class."""
112
+
113
+ def test_101_apipaste_includes_audit_section (self ):
114
+ """Test api-paste.ini renders audit section when enabled."""
115
+ self .skipTest ('ironic-api does not use an api-paste.ini file' )
116
+
117
+ def test_102_apipaste_excludes_audit_section (self ):
118
+ """Test api_paste.ini does not render audit section when disabled."""
119
+ self .skipTest ('ironic-api does not use an api-paste.ini file' )
You can’t perform that action at this time.
0 commit comments