diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-05-01 21:00:47 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-05-01 21:00:47 +0200 |
commit | 1621832567ff096b7407626b27f52b6563de3c1c (patch) | |
tree | 5160218e438e7812a9832b7012e1678a66f51b88 /unitest-restful.py | |
parent | 9999f558df0289a1bffa244bba1d24f692cacc4c (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-x | unitest-restful.py | 4 |
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 |