Add mock module and additional documentation
This patch updates conf.py's mock_modules to include the required python-novaclient module to ensure we have green tests. This patch also updates the openstack_vms.py description to be more explicit about it's requirements.
This commit is contained in:
parent
9134880d55
commit
8b299233cc
@ -30,7 +30,8 @@ MOCK_MODULES = [
|
|||||||
"i3pystatus.pulseaudio.pulse",
|
"i3pystatus.pulseaudio.pulse",
|
||||||
"notmuch",
|
"notmuch",
|
||||||
"requests",
|
"requests",
|
||||||
"bs4"
|
"bs4",
|
||||||
|
"python-novaclient"
|
||||||
]
|
]
|
||||||
|
|
||||||
for mod_name in MOCK_MODULES:
|
for mod_name in MOCK_MODULES:
|
||||||
|
@ -9,6 +9,7 @@ class Openstack_vms(IntervalModule):
|
|||||||
"""
|
"""
|
||||||
Displays the number of VMs in an openstack cluster in ACTIVE and
|
Displays the number of VMs in an openstack cluster in ACTIVE and
|
||||||
non-ACTIVE states.
|
non-ACTIVE states.
|
||||||
|
Requires: python-novaclient
|
||||||
"""
|
"""
|
||||||
|
|
||||||
settings = (
|
settings = (
|
||||||
|
Loading…
Reference in New Issue
Block a user