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:
David Wahlstrom 2015-06-03 07:35:28 -07:00
parent 9134880d55
commit 8b299233cc
2 changed files with 3 additions and 1 deletions

View File

@ -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:

View File

@ -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 = (