mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
Correct unitest Restful for amp
This commit is contained in:
parent
eeb847fba6
commit
b347cb9ce8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user