From 24a3ed5dcd2264a64e234ea7bd526049fafe7616 Mon Sep 17 00:00:00 2001 From: David Medina Date: Sat, 12 May 2012 19:04:23 +0200 Subject: Some fixes/typos and 'validate_body' related --- pygithub3/core/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygithub3/core') 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): -- cgit v1.2.3-59-g8ed1b