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.

Project Source

This Page