mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f from master
This commit is contained in:
@@ -733,7 +733,7 @@ class CookieTests(unittest.TestCase):
|
||||
# Chunks without an equals sign appear as unnamed values per
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=169091
|
||||
self.assertIn('django_language', parse_cookie('abc=def; unnamed; django_language=en'))
|
||||
# Even a double quote may be an unamed value.
|
||||
# Even a double quote may be an unnamed value.
|
||||
self.assertEqual(parse_cookie('a=b; "; c=d'), {'a': 'b', '': '"', 'c': 'd'})
|
||||
# Spaces in names and values, and an equals sign in values.
|
||||
self.assertEqual(parse_cookie('a b c=d e = f; gh=i'), {'a b c': 'd e = f', 'gh': 'i'})
|
||||
|
||||
Reference in New Issue
Block a user