Tests for ceilometer/hardware/inspector/snmp/inspector.py
-
class
ceilometer.tests.unit.hardware.inspector.test_snmp.
FakeCommandGenerator
[source]
Bases: object
-
bulkCmd
(authData, transportTarget, nonRepeaters, maxRepetitions, *oids, **kwargs)[source]
-
getCmd
(authData, transportTarget, *oids, **kwargs)[source]
-
class
ceilometer.tests.unit.hardware.inspector.test_snmp.
FakeObjectName
(name)[source]
Bases: object
-
class
ceilometer.tests.unit.hardware.inspector.test_snmp.
TestSNMPInspector
(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
setUp
()[source]
-
test_auth_strategy
(*args, **keywargs)[source]
-
test_inspect_generic_exact
()[source]
-
test_inspect_generic_prefix
()[source]
-
test_inspect_no_such_instance
()[source]
-
test_inspect_no_such_object
()[source]
-
test_post_op_disk
()[source]
-
test_post_op_net
()[source]
-
test_prepare_params
()[source]
-
test_pysnmp_ver43
()[source]
-
test_snmp_error
()[source]