Correct unitest Restful for amp

This commit is contained in:
Nicolargo 2016-04-28 10:44:08 +02:00
parent eeb847fba6
commit b347cb9ce8

View File

@ -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