mirror of
https://github.com/httpie/cli.git
synced 2025-06-23 19:11:30 +02: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.
|
# Origin can differ on Travis.
|
||||||
del r1.json['origin'], r3.json['origin']
|
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.
|
# Should be the same as before r2.
|
||||||
self.assertDictEqual(r1.json, r3.json)
|
self.assertDictEqual(r1.json, r3.json)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user