summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2016-05-01 21:00:47 +0200
committernicolargo <nicolashennion@gmail.com>2016-05-01 21:00:47 +0200
commit1621832567ff096b7407626b27f52b6563de3c1c (patch)
tree5160218e438e7812a9832b7012e1678a66f51b88 /unitest-restful.py
parent9999f558df0289a1bffa244bba1d24f692cacc4c (diff)
Almost finished. Just had to correct an issue on the WebUI displaying AMP with empty result
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-xunitest-restful.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unitest-restful.py b/unitest-restful.py
index b4b17e38..86598563 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -93,8 +93,8 @@ class TestGlances(unittest.TestCase):
self.assertTrue(req.ok)
if p in ('uptime', 'now'):
self.assertIsInstance(req.json(), text_type)
- elif p in ('fs', 'monitor', 'percpu', 'sensors', 'alert', 'processlist',
- 'diskio', 'hddtemp', 'batpercent', 'network', 'folders', 'amps'):
+ elif p in ('fs', 'percpu', 'sensors', 'alert', 'processlist', 'diskio',
+ 'hddtemp', 'batpercent', 'network', 'folders', 'amps'):
self.assertIsInstance(req.json(), list)
elif p in ('psutilversion', 'help'):
pass