From 92b4e1adf0b881808ce881973c409b4425809682 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Fri, 21 Oct 2016 22:32:39 +0200 Subject: [PATCH] Correct an issue in the UT for the new Wifi plugin --- unitest-restful.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unitest-restful.py b/unitest-restful.py index 3744b630..8c11ed93 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -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