diff options
| author | Chris McDonough <chrism@plope.com> | 2011-04-06 15:36:11 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-04-06 15:36:11 -0400 |
| commit | 8af47bc6bdc15cacfbe26e0507bd674ebf7ce80f (patch) | |
| tree | 5aff465043548a7e182950c3b5c74017d4abc909 /CHANGES.txt | |
| parent | 88f9674662dbb53073756c616c4610c8dd0beb48 (diff) | |
| download | pyramid-8af47bc6bdc15cacfbe26e0507bd674ebf7ce80f.tar.gz pyramid-8af47bc6bdc15cacfbe26e0507bd674ebf7ce80f.tar.bz2 pyramid-8af47bc6bdc15cacfbe26e0507bd674ebf7ce80f.zip | |
- ``testing.DummyRequest`` used the wrong registry (the global registry) as
``self.registry`` if a dummy request was created *before* ``testing.setUp``
was executed (``testing.setUp`` pushes a local registry onto the
threadlocal stack). Fixed by implementing ``registry`` as a property for
DummyRequest instead of eagerly assigning an attribute.
See also https://github.com/Pylons/pyramid/issues/165
Closes #165.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 12da3bc06..780df9e8a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -66,6 +66,13 @@ Bug Fixes ``factory=`` to ``add_static_view`` to protect a particular static view with a custom ACL. +- ``testing.DummyRequest`` used the wrong registry (the global registry) as + ``self.registry`` if a dummy request was created *before* ``testing.setUp`` + was executed (``testing.setUp`` pushes a local registry onto the + threadlocal stack). Fixed by implementing ``registry`` as a property for + DummyRequest instead of eagerly assigning an attribute. + See also https://github.com/Pylons/pyramid/issues/165 + 1.0 (2011-01-30) ================ |
