ironic/ironic/tests/unit/api
Dmitry Tantsur be09169c67 Prevent HTML from appearing in API error messages
Currently if the request does not have an Accept header, all pecan
errors end up being HTML, which then gets wrapped into our standard
error format. This change prevents it.

Change-Id: I1968ab20fdeced852744fac5e0e795e997ae6e34
Story: #1662228
Task: #24869
2018-08-28 14:54:15 +02:00
..
controllers Prevent HTML from appearing in API error messages 2018-08-28 14:54:15 +02:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_acl.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
test_audit.py Remove unnecessary setUp function in testcase 2017-03-30 15:39:55 +08:00
test_healthcheck.py Add optional healthcheck middleware 2018-02-12 14:48:05 -05:00
test_hooks.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_middleware.py Properly allow Ironic headers in REST API 2017-05-04 15:30:45 -03:00
test_ospmiddleware.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_root.py Prevent HTML from appearing in API error messages 2018-08-28 14:54:15 +02:00
utils.py Deploy steps - API & notifications 2018-07-11 16:19:31 +00:00