diff options
author | Nicolargo <nicolas@nicolargo.com> | 2016-04-28 10:44:08 +0200 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2016-04-28 10:44:08 +0200 |
commit | b347cb9ce8e68752c03534d7b9ec007fa86cf940 (patch) | |
tree | 7f5bf6a3b1d45f280f45ac9023c560152ab72703 /unitest-restful.py | |
parent | eeb847fba6b9bac58aa0435a38cd850bf191efc8 (diff) |
Correct unitest Restful for amp
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index c68e3721..b4b17e38 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -94,7 +94,7 @@ class TestGlances(unittest.TestCase): 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'): + 'diskio', 'hddtemp', 'batpercent', 'network', 'folders', 'amps'): self.assertIsInstance(req.json(), list) elif p in ('psutilversion', 'help'): pass |