summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_push.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-11-16 01:28:10 +0000
committerChris McDonough <chrism@agendaless.com>2008-11-16 01:28:10 +0000
commit043327890df5cd46498305a052de66785f20df49 (patch)
tree1e06bdf7633d3fb81c7e48c7354967ec85c08dfb /repoze/bfg/tests/test_push.py
parent60bfb44d6b8e17c750406c884848c0f7b38181d5 (diff)
downloadpyramid-043327890df5cd46498305a052de66785f20df49.tar.gz
pyramid-043327890df5cd46498305a052de66785f20df49.tar.bz2
pyramid-043327890df5cd46498305a052de66785f20df49.zip
Add r.bfg.convention support to pushpage decorator.
Diffstat (limited to 'repoze/bfg/tests/test_push.py')
-rw-r--r--repoze/bfg/tests/test_push.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repoze/bfg/tests/test_push.py b/repoze/bfg/tests/test_push.py
index 3dc456b58..e8d257c03 100644
--- a/repoze/bfg/tests/test_push.py
+++ b/repoze/bfg/tests/test_push.py
@@ -25,6 +25,7 @@ class Test_pushpage(unittest.TestCase, PlacelessSetup):
pp = self._makeOne('pp.pt')
wrapped = pp(to_wrap)
self.assertEqual(wrapped.__name__, 'to_wrap')
+ self.assertEqual(wrapped.__grok_module__, to_wrap.__module__)
def test___call___passes_names_from_wrapped(self):
self._zcmlConfigure()