diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-06-04 19:31:25 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-06-04 19:31:25 +0200 |
commit | 5065ef12e0353f60d41eb03d4b1bf5274b5f80f7 (patch) | |
tree | 29d82e180c295225f9e3e018ac0e8f2c10aeb61b /unitest-restful.py | |
parent | 53b8095bd3cdae9cd38de44f43e3a74138568195 (diff) |
Correct unitest Restfull JSON to be Python compatible
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index be29236f..ee59978e 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -112,7 +112,7 @@ class TestGlances(unittest.TestCase): req = requests.get("%s/%s/%s" % (URL, method, i)) self.assertTrue(req.ok) self.assertIsInstance(req.json(), dict) - print req.json()[i] + print(req.json()[i]) self.assertIsInstance(req.json()[i], numbers.Number) def test_005_values(self): |