File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ def test_basic(self):
6262 def test_obsolete_rfc850_date_format (self ):
6363 # Test cases with different days and dates in obsolete RFC 850 format
6464 test_cases = [
65+ # test cases from RFC 850
66+ # https://datatracker.ietf.org/doc/html/rfc850#section-2
6567 {
6668 'data' : 'key=value; expires=Saturday, 01-Jan-83 00:00:00 EST' ,
6769 'output' : 'Saturday, 01-Jan-83 00:00:00 EST'
@@ -70,6 +72,7 @@ def test_obsolete_rfc850_date_format(self):
7072 'data' : 'key=value; expires=Friday, 19-Nov-82 16:59:30 EST' ,
7173 'output' : 'Friday, 19-Nov-82 16:59:30 EST'
7274 },
75+ # other test cases
7376 {
7477 'data' : 'key=value; expires=Sunday, 06-Nov-94 08:49:37 GMT' ,
7578 'output' : 'Sunday, 06-Nov-94 08:49:37 GMT'
You can’t perform that action at this time.
0 commit comments