diff options
author | 2012-05-12 19:04:23 +0200 | |
---|---|---|
committer | 2012-05-12 22:47:09 +0200 | |
commit | 24a3ed5dcd2264a64e234ea7bd526049fafe7616 (patch) | |
tree | 6131f221a9bf9b596dc139715d4e79f090bb55c3 /pygithub3/core/client.py | |
parent | Deleted 'dispatch' decorator. No sense (diff) | |
download | python-github3-24a3ed5dcd2264a64e234ea7bd526049fafe7616.tar.xz python-github3-24a3ed5dcd2264a64e234ea7bd526049fafe7616.zip |
Some fixes/typos and 'validate_body' related
Diffstat (limited to 'pygithub3/core/client.py')
-rw-r--r-- | pygithub3/core/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/core/client.py b/pygithub3/core/client.py index eadb18e..ee7c97f 100644 --- a/pygithub3/core/client.py +++ b/pygithub3/core/client.py @@ -81,7 +81,7 @@ class Client(object): def get(self, request, **kwargs): response = self.request('get', request, **kwargs) - # there are valid GET responses that != 200 + assert response.status_code == 200 return response def post(self, request, **kwargs): |