The ceilometer.tests.tempest.api.base Module

class ceilometer.tests.tempest.api.base.BaseTelemetryAdminTest(*args, **kwargs)[source]

Bases: ceilometer.tests.tempest.api.base.BaseTelemetryTest

Base test case class for admin Telemetry API tests.

classmethod setup_clients()[source]
class ceilometer.tests.tempest.api.base.BaseTelemetryTest(*args, **kwargs)[source]

Bases: tempest.test.BaseTestCase

Base test case class for all Telemetry API tests.

await_samples(metric, query)[source]

This method is to wait for sample to add it to database.

There are long time delays when using Postgresql (or Mysql) database as ceilometer backend

static cleanup_resources(method, list_of_ids)[source]
client_manager

alias of ClientManager

classmethod create_image(client, **kwargs)[source]
classmethod create_server()[source]
classmethod resource_cleanup()[source]
classmethod resource_setup()[source]
classmethod setup_clients()[source]
classmethod setup_credentials()[source]
classmethod skip_checks()[source]
class ceilometer.tests.tempest.api.base.ClientManager(credentials)[source]

Bases: ceilometer.tests.tempest.service.client.Manager