This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_cookie isn't comprehensive
Type: enhancement Stage:
Components: Library (Lib), Tests Versions: Python 3.1, Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, georg.brandl, noufal
Priority: normal Keywords: easy, patch

Created on 2008-09-05 21:07 by benjamin.peterson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_cookie.patch noufal, 2009-02-23 04:34 Patch to increase number of Morsel tests
Messages (3)
msg72628 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-09-05 21:07
At the moment, test_cookie only tests SimpleCookie and not completely.
It should test Morsel attributes and bad input better.
msg82617 - (view) Author: Noufal (noufal) Date: 2009-02-23 04:34
This patch contains some simple tests for Morsel. I will update it again
to increase coverage.

The changes to the Cookie tests assume that the patch in issue4860 has
been applied.
msg112201 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-31 21:04
Committed new tests together with extensive cleanup of http.cookies in r83361, coverage is now at 95%.
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 48038
2010-07-31 21:04:15georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg112201

resolution: accepted
2009-02-23 04:34:15noufalsetfiles: + test_cookie.patch
nosy: + noufal
messages: + msg82617
keywords: + patch
2008-09-05 21:07:04benjamin.petersoncreate