The ceilometer.tests.api Module

Base classes for API tests.

class ceilometer.tests.api.FunctionalTest(methodName='runTest')[source]

Bases: ceilometer.tests.db.TestBase

Used for functional tests of Pecan controllers where you need to test your literal application and its integration with the framework.

get_json(path, expect_errors=False, headers=None, extra_environ=None, q=[], **params)[source]
setUp()[source]
tearDown()[source]
class ceilometer.tests.api.TestBase(methodName='runTest')[source]

Bases: ceilometer.tests.db.TestBase

Use only for v1 API tests.

get(path, headers=None, **kwds)[source]
setUp()[source]

Previous topic

The ceilometer.storage.sqlalchemy.session Module

Next topic

The ceilometer.tests.base Module

This Page