From f9141f51ec937da874aa6799393acb78a0247675 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 9 Nov 2011 15:04:13 -0800 Subject: [PATCH] Make sure that session-level cookies work. --- test_requests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_requests.py b/test_requests.py index a3e64ec7..4e7b5b32 100755 --- a/test_requests.py +++ b/test_requests.py @@ -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'}