Commit 74ce1ae9 by Calen Pennington

Update comment to reflect the code in lang_pref tests

parent dc855dd6
...@@ -104,7 +104,8 @@ class TestUserPreferenceMiddleware(TestCase): ...@@ -104,7 +104,8 @@ class TestUserPreferenceMiddleware(TestCase):
(logged_in, ) + test_def (logged_in, ) + test_def
for logged_in in (True, False) for logged_in in (True, False)
for test_def in [ for test_def in [
# (LANGUAGE_COOKIE, LANGUAGE_SESSION_KEY, Accept-Language In, Accept-Language Out) # (LANGUAGE_COOKIE, LANGUAGE_SESSION_KEY, Accept-Language In,
# Accept-Language Out, Session Lang Out)
(None, None, None, None, None), (None, None, None, None, None),
(None, 'eo', None, None, 'eo'), (None, 'eo', None, None, 'eo'),
(None, 'en', None, None, 'en'), (None, 'en', None, None, 'en'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment