diff options
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] |
