You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-06-09 21:06:52 +02:00
Fixed SessionTest.test_session_read_only.
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user