The ironic.tests.unit.api.test_ospmiddleware Module

The ironic.tests.unit.api.test_ospmiddleware Module

class ironic.tests.unit.api.test_ospmiddleware.TestOsprofilerWsgiMiddleware(*args, **kwds)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

Provide a basic test for OSProfiler wsgi middleware.

The tests below provide minimal confirmation that the OSProfiler wsgi middleware is called.

setUp()[source]
test_disable_osp_wsgi_request(*args, **keywargs)[source]
test_enable_osp_wsgi_request(*args, **keywargs)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.