Chris McDonough
2011-04-11 474df5c8b4d76bf4c1b355fcaab8590fc4f307fb
refs
author Chris McDonough <chrism@plope.com>
Monday, April 11, 2011 10:31 +0200
committer Chris McDonough <chrism@plope.com>
Monday, April 11, 2011 10:31 +0200
commit474df5c8b4d76bf4c1b355fcaab8590fc4f307fb
tree 791737ee6a9d6a18cac1b5b0257a8a50d9203afe tree | zip | gz
parent d9b52b657a063c3714c8b645d3ec023edafa28d7 view | diff
- Don't explicitly prevent the ``timeout`` from being lower than the
``reissue_time`` when setting up an ``AuthTktAuthenticationPolicy``
(previously such a configuration would raise a ``ValueError``, now it's
allowed, although typically nonsensical). Allowing the nonsensical
configuration made the code more understandable and required fewer tests.

- Add a test for when the auth_tkt value is empty.
3 files modified
64 ■■■■ changed files
CHANGES.txt 6 ●●●●● diff | view | raw | blame | history
pyramid/authentication.py 32 ●●●● diff | view | raw | blame | history
pyramid/tests/test_authentication.py 26 ●●●● diff | view | raw | blame | history