diff --git a/unitest-restful.py b/unitest-restful.py
index <HASH>..<HASH> 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -91,7 +91,7 @@ class TestGlances(unittest.TestCase):
             req = requests.get("%s/%s" % (URL, p))
             self.assertTrue(req.ok)
             if p in ('uptime', 'now'):
-                self.assertIsInstance(req.json(), str)
+                self.assertIsInstance(req.json(), unicode)
             elif p in ('fs', 'monitor', 'percpu', 'sensors', 'alert', 'processlist',
                        'diskio', 'hddtemp', 'batpercent', 'network'):
                 self.assertIsInstance(req.json(), list)
Correct an issue with test_<I>_plugins in Unitest for the Restful API (str instead od unicode)