summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2016-10-21 22:32:39 +0200
committernicolargo <nicolas@nicolargo.com>2016-10-21 22:32:39 +0200
commit92b4e1adf0b881808ce881973c409b4425809682 (patch)
tree3ae336f4c23d6152fa4b7c917aea3e6f192f63ac /unitest-restful.py
parentbaf79e9d87ff6676ce1b85ad246dd272b2543a09 (diff)
Correct an issue in the UT for the new Wifi plugin
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-xunitest-restful.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py
index 3744b630..8c11ed93 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -94,7 +94,8 @@ class TestGlances(unittest.TestCase):
if p in ('uptime', 'now'):
self.assertIsInstance(req.json(), text_type)
elif p in ('fs', 'percpu', 'sensors', 'alert', 'processlist', 'diskio',
- 'hddtemp', 'batpercent', 'network', 'folders', 'amps', 'ports', 'irq'):
+ 'hddtemp', 'batpercent', 'network', 'folders', 'amps', 'ports',
+ 'irq', 'wifi'):
self.assertIsInstance(req.json(), list)
elif p in ('psutilversion', 'help'):
pass