The panko.tests.functional.gabbi.fixtures Module

The panko.tests.functional.gabbi.fixtures Module

Fixtures used during Gabbi-based test runs.

class panko.tests.functional.gabbi.fixtures.CORSConfigFixture[source]

Bases: gabbi.fixture.GabbiFixture

Inject mock configuration for the CORS middleware.

start_fixture()[source]
stop_fixture()[source]

Remove the monkeypatch.

class panko.tests.functional.gabbi.fixtures.ConfigFixture[source]

Bases: gabbi.fixture.GabbiFixture

Establish the relevant configuration for a test run.

start_fixture()[source]

Set up config.

stop_fixture()[source]

Reset the config and remove data.

class panko.tests.functional.gabbi.fixtures.EventDataFixture[source]

Bases: panko.tests.functional.gabbi.fixtures.ConfigFixture

Instantiate some sample event data for use in testing.

start_fixture()[source]

Create some events.

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.