summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_push.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-16 18:58:16 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-16 18:58:16 +0000
commit5a7f9a4d57424f14a1e072cc06b6bf7a191a7d08 (patch)
treeb44448198ddf8031b3e09b83dd731f2ae1d6623a /repoze/bfg/tests/test_push.py
parent4856cc54bcd5feb97db49f1cca923afb01c0bf02 (diff)
downloadpyramid-5a7f9a4d57424f14a1e072cc06b6bf7a191a7d08.tar.gz
pyramid-5a7f9a4d57424f14a1e072cc06b6bf7a191a7d08.tar.bz2
pyramid-5a7f9a4d57424f14a1e072cc06b6bf7a191a7d08.zip
Features
-------- - The functionality of ``repoze.bfg.convention`` has been merged into the core. Applications which make use of ``repoze.bfg.convention`` will continue to work indefinitely, but it is recommended that apps stop depending upon it. To do so, substitute imports of ``repoze.bfg.convention.bfg_view`` with imports of ``repoze.bfg.view.bfg_view``, and change the stanza in ZCML from ``<convention package=".">`` to ``<grok package=".">``. As a result of the merge, bfg has grown a new dependency: ``martian``. - View functions which use the pushpage decorator are now pickleable (meaning their use won't prevent a ``configure.zcml.cache`` file from being written to disk). Implementation Changes ---------------------- - The ``wsgiapp`` decorator now uses ``webob.Request.get_response`` to do its work rather than relying on howgrown WSGI code.
Diffstat (limited to 'repoze/bfg/tests/test_push.py')
-rw-r--r--repoze/bfg/tests/test_push.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/tests/test_push.py b/repoze/bfg/tests/test_push.py
index 4220d9a5a..3cfe5a4c4 100644
--- a/repoze/bfg/tests/test_push.py
+++ b/repoze/bfg/tests/test_push.py
@@ -26,7 +26,7 @@ class Test_pushpage(unittest.TestCase):
pp = self._makeOne('pp.pt')
wrapped = pp(to_wrap)
self.assertEqual(wrapped.__name__, 'to_wrap')
- self.assertEqual(wrapped.__grok_module__, to_wrap.__module__)
+ self.assertEqual(wrapped.__module__, to_wrap.__module__)
def test___call___passes_names_from_wrapped(self):
self._zcmlConfigure()