mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Make sure that session-level cookies work.
This commit is contained in:
@@ -506,6 +506,12 @@ class RequestsTestSuite(unittest.TestCase):
|
||||
assert c == _c
|
||||
|
||||
|
||||
s = requests.session(cookies=_c)
|
||||
c = json.loads(r.content).get('cookies')
|
||||
assert c == _c
|
||||
|
||||
|
||||
|
||||
def test_session_persistent_params(self):
|
||||
|
||||
params = {'a': 'a_test'}
|
||||
|
||||
Reference in New Issue
Block a user