Improved cookie support in the test client

This commit is contained in:
Miguel Grinberg
2024-03-24 19:37:27 +00:00
parent dea79c5ce2
commit 4cb155ee41
3 changed files with 16 additions and 5 deletions

View File

@@ -203,7 +203,8 @@ class TestResponse(unittest.TestCase):
'foo7=bar7; Path=/foo; Domain=example.com:1234; '
'Expires=Tue, 05 Nov 2019 02:23:54 GMT; Max-Age=123; Secure; '
'HttpOnly',
'foo8=; Expires=Thu, 01 Jan 1970 00:00:01 GMT; HttpOnly',
('foo8=; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Max-Age=0; '
'HttpOnly'),
]})
def test_redirect(self):