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.EventDataFixture[source]

Bases: gabbi.fixture.GabbiFixture

Instantiate some sample event data for use in testing.

start_fixture()[source]

Create some events.

stop_fixture()[source]

Destroy the events.

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.

Previous topic

The ceilometer.tests.functional.api.v2.test_statistics_scenarios Module

Next topic

The ceilometer.tests.functional.gabbi.test_gabbi Module

Project Source

This Page