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
|
|
@ -207,6 +207,9 @@ class TwythonAPITestCase(unittest.TestCase):
|
|||
|
||||
data = self.api.request(endpoint, params={'id': 210462857140252672})
|
||||
|
||||
if 'headers' in data:
|
||||
del data['headers']
|
||||
|
||||
self.assertEqual({'id': 210462857140252672}, data)
|
||||
|
||||
@responses.activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue