The ceilometer.tests.unit.agent.test_discovery Module

The ceilometer.tests.unit.agent.test_discovery Module

Tests for ceilometer/central/manager.py

class ceilometer.tests.unit.agent.test_discovery.TestEndpointDiscovery(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_keystone_called()[source]
test_keystone_called_no_endpoints()[source]
test_keystone_called_no_service_type()[source]
class ceilometer.tests.unit.agent.test_discovery.TestHardwareDiscovery(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

class MockInstance[source]

Bases: object

setUp()[source]
test_hardware_discovery()[source]
test_hardware_discovery_usm()[source]
test_hardware_discovery_without_flavor()[source]
class ceilometer.tests.unit.agent.test_discovery.TestLocalnodeDiscovery(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_lockalnode_discovery()[source]
class ceilometer.tests.unit.agent.test_discovery.TestProjectDiscovery(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

prepare_mock_data()[source]
setUp()[source]
side_effect(domain=None)[source]
test_project_discovery_no_domain()[source]
test_project_discovery_with_domains()[source]
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.