The oslo_context.fixture Module

The oslo_context.fixture Module

class oslo_context.fixture.ClearRequestContext

Bases: fixtures.fixture.Fixture

Clears any cached RequestContext

This resets RequestContext at the beginning and end of tests that use this fixture to ensure that we have a clean slate for running tests, and that we leave a clean slate for other tests that might run later in the same process.

setUp()
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.