The ceilometer.tests.functional.gabbi.fixtures Module

The ceilometer.tests.functional.gabbi.fixtures Module

Fixtures used during Gabbi-based test runs.

class ceilometer.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 ceilometer.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 ceilometer.tests.functional.gabbi.fixtures.SampleDataFixture[source]

Bases: gabbi.fixture.GabbiFixture

Instantiate some sample data for use in testing.

start_fixture()[source]

Create some samples.

stop_fixture()[source]

Destroy the samples.

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.