mirror of
https://github.com/httpie/cli.git
synced 2024-12-27 08:48:58 +01:00
Fixed SessionTest.test_session_read_only.
This commit is contained in:
parent
e62620d4ad
commit
bbbae3ae25
@ -1571,7 +1571,9 @@ class SessionTest(BaseTestCase):
|
||||
|
||||
# Origin can differ on Travis.
|
||||
del r1.json['origin'], r3.json['origin']
|
||||
|
||||
# Different for each request.
|
||||
del r1.json['headers']['X-Request-Id'], \
|
||||
r3.json['headers']['X-Request-Id']
|
||||
# Should be the same as before r2.
|
||||
self.assertDictEqual(r1.json, r3.json)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user