#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.

This commit is contained in:
Ezio Melotti 2013-08-10 18:07:25 +03:00
parent 43694a50ab
commit 7ac17f85d3
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ def test_http2time_formats(self):
'03-Feb-1994 00:00:00 GMT', # broken rfc850 (no weekday)
'03-Feb-1994 00:00 GMT', # broken rfc850 (no weekday, no seconds)
'03-Feb-1994 00:00', # broken rfc850 (no weekday, no seconds, no tz)
'02-Feb-1994 24:00', # broken rfc850 (no weekday, no seconds,
# no tz) using hour 24 with yesterday date
'03-Feb-94', # old rfc850 HTTP format (no weekday, no time)
'03-Feb-1994', # broken rfc850 HTTP format (no weekday, no time)