mirror of https://github.com/nicolargo/glances.git
Correct an issue in the UT for the new Wifi plugin
This commit is contained in:
parent
baf79e9d87
commit
92b4e1adf0
|
|
@ -94,7 +94,8 @@ class TestGlances(unittest.TestCase):
|
|||
if p in ('uptime', 'now'):
|
||||
self.assertIsInstance(req.json(), text_type)
|
||||
elif p in ('fs', 'percpu', 'sensors', 'alert', 'processlist', 'diskio',
|
||||
'hddtemp', 'batpercent', 'network', 'folders', 'amps', 'ports', 'irq'):
|
||||
'hddtemp', 'batpercent', 'network', 'folders', 'amps', 'ports',
|
||||
'irq', 'wifi'):
|
||||
self.assertIsInstance(req.json(), list)
|
||||
elif p in ('psutilversion', 'help'):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue