diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-18 05:49:41 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-18 05:49:41 +0000 |
| commit | 58afb33d70dece410b998a9c064eba42e3f843d7 (patch) | |
| tree | 4b4a951eaf7efde99fe2ea889c86beb8e944c1e5 /repoze/bfg/tests/test_integration.py | |
| parent | a1824a7cae05606029dd0df64faef17aa65f3f89 (diff) | |
| download | pyramid-58afb33d70dece410b998a9c064eba42e3f843d7.tar.gz pyramid-58afb33d70dece410b998a9c064eba42e3f843d7.tar.bz2 pyramid-58afb33d70dece410b998a9c064eba42e3f843d7.zip | |
grok -> scan to prevent confusion.
Diffstat (limited to 'repoze/bfg/tests/test_integration.py')
| -rw-r--r-- | repoze/bfg/tests/test_integration.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/repoze/bfg/tests/test_integration.py b/repoze/bfg/tests/test_integration.py index 4630f0da8..4c5777738 100644 --- a/repoze/bfg/tests/test_integration.py +++ b/repoze/bfg/tests/test_integration.py @@ -35,13 +35,13 @@ class WGSIAppPlusBFGViewTests(unittest.TestCase): result = wsgiapptest(context, request) self.assertEqual(result, '123') - def test_grokkage(self): + def test_scanned(self): from repoze.bfg.interfaces import IRequest from repoze.bfg.interfaces import IView - from repoze.bfg.zcml import grok + from repoze.bfg.zcml import scan context = DummyContext() from repoze.bfg.tests import test_integration - grok(context, test_integration) + scan(context, test_integration) actions = context.actions self.assertEqual(len(actions), 2) action = actions[1] @@ -75,13 +75,13 @@ class PushPagePlusBFGViewTests(unittest.TestCase): result = pushtest(context, request) self.assertEqual(result.status, '200 OK') - def test_grokkage(self): + def test_scanned(self): from repoze.bfg.interfaces import IRequest from repoze.bfg.interfaces import IView - from repoze.bfg.zcml import grok + from repoze.bfg.zcml import scan context = DummyContext() from repoze.bfg.tests import test_integration - grok(context, test_integration) + scan(context, test_integration) actions = context.actions self.assertEqual(len(actions), 2) action = actions[0] |
