This commit is contained in:
Janez Kranjc 2017-04-16 00:25:27 +00:00 committed by GitHub
commit d109145460
2 changed files with 4 additions and 0 deletions

View file

@ -209,6 +209,9 @@ class TwythonAPITestCase(unittest.TestCase):
self.register_response(responses.GET, url, body='{"id": 210462857140252672}')
data = self.api.request(endpoint, params={'id': 210462857140252672})
if 'headers' in data:
del data['headers']
self.assertEqual({'id': 210462857140252672}, data)