diff options
author | nicolargo <nicolas@nicolargo.com> | 2016-10-21 22:32:39 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2016-10-21 22:32:39 +0200 |
commit | 92b4e1adf0b881808ce881973c409b4425809682 (patch) | |
tree | 3ae336f4c23d6152fa4b7c917aea3e6f192f63ac | |
parent | baf79e9d87ff6676ce1b85ad246dd272b2543a09 (diff) |
Correct an issue in the UT for the new Wifi plugin
-rwxr-xr-x | unitest-restful.py | 3 |
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 |