Tests for libvirt inspector.
-
class
ceilometer.tests.unit.compute.virt.libvirt.test_inspector.
TestLibvirtInspection
(*args, **kwds)[source]
Bases: oslotest.base.BaseTestCase
-
exception
fakeLibvirtError
[source]
Bases: exceptions.Exception
-
TestLibvirtInspection.
setUp
()[source]
-
TestLibvirtInspection.
test_inspect_cpus
()[source]
-
TestLibvirtInspection.
test_inspect_cpus_with_domain_shutoff
()[source]
-
TestLibvirtInspection.
test_inspect_disk_info
()[source]
-
TestLibvirtInspection.
test_inspect_disks
()[source]
-
TestLibvirtInspection.
test_inspect_disks_with_domain_shutoff
()[source]
-
TestLibvirtInspection.
test_inspect_memory_usage
()[source]
-
TestLibvirtInspection.
test_inspect_memory_usage_with_domain_shutoff
()[source]
-
TestLibvirtInspection.
test_inspect_memory_usage_with_empty_stats
()[source]
-
TestLibvirtInspection.
test_inspect_vnics
()[source]
-
TestLibvirtInspection.
test_inspect_vnics_with_domain_shutoff
()[source]
-
class
ceilometer.tests.unit.compute.virt.libvirt.test_inspector.
TestLibvirtInspectionWithError
(*args, **kwds)[source]
Bases: oslotest.base.BaseTestCase
-
exception
fakeLibvirtError
[source]
Bases: exceptions.Exception
-
TestLibvirtInspectionWithError.
setUp
()[source]
-
TestLibvirtInspectionWithError.
test_inspect_unknown_error
()[source]