diff options
| author | Chris McDonough <chrism@plope.com> | 2012-10-07 02:03:47 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-10-07 02:03:47 -0400 |
| commit | 1273d56ee5c038f447dce0525844cd3ea6c15e4d (patch) | |
| tree | 11ab8f12072353e7e324e66bda5914c78cd5c1ea /.gitignore | |
| parent | 7d8e08ecff656fd0f525a0fd655cdf20915f5fa8 (diff) | |
| download | pyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.tar.gz pyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.tar.bz2 pyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.zip | |
- The Configurator ``testing_securitypolicy`` method now returns the policy
object it creates.
- The Configurator ``testing_securitypolicy`` method accepts two new
arguments: ``remember_result`` and ``forget_result``. If supplied, these
values influence the result of the policy's ``remember`` and ``forget``
methods, respectively.
- The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
``forgotten`` value on the policy (the value ``True``) when its ``forget``
method is called.
- The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
``remembered`` value on the policy, which is the value of the ``principal``
argument it's called with when its ``remember`` method is called.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
