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

TestHardwareDiscovery.setUp()[source]
TestHardwareDiscovery.test_hardware_discovery()[source]
TestHardwareDiscovery.test_hardware_discovery_usm()[source]
TestHardwareDiscovery.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]