diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-11-12 17:23:31 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-11-12 17:23:31 +0100 |
commit | 13674d57b698b6501fff0b16eb42544a3ddb3c51 (patch) | |
tree | 365b999d06245f089c836a9cefa0dfb12143fe5c /unitest-restful.py | |
parent | 59a5400118500274ad2eae0c3fe134debc0aefb9 (diff) |
Works fine in Python 2 but Internal Server Error with Python 3...
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index e7bb06a4..0461e8aa 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -48,7 +48,7 @@ class TestGlances(unittest.TestCase): print('\n' + '=' * 78) def http_get(self, url, gzipped=False): - """Make the gt request""" + """Make the request""" if gzipped: ret = requests.get(url, stream=True, @@ -226,5 +226,6 @@ class TestGlances(unittest.TestCase): self.assertTrue(True) + if __name__ == '__main__': unittest.main() |