fixed test so that headers don't get in the way
This commit is contained in:
parent
f0d74f971a
commit
80fa133255
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue