diff options
author | Nicolargo <nicolas@nicolargo.com> | 2014-10-02 22:13:48 +0200 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2014-10-02 22:13:48 +0200 |
commit | 736c8ec7ae7db2d5a973fd280a7271b631be8053 (patch) | |
tree | e85eca2ef6fd24980c67f24c3411a1a810a02a28 /unitest-restful.py | |
parent | 6915cf887d88fb2c41689d91fef23353edc56091 (diff) |
Add Tox file for testing
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 6f413c8f..061cb13e 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -123,7 +123,7 @@ class TestGlances(unittest.TestCase): plist = requests.get("%s/%s" % (URL, method)) - print plist.json() + print(plist.json()) for p in plist.json(): print("HTTP RESTFul request: %s/%s" % (URL, p)) |