summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoze/bfg/tests/test_integration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_integration.py b/repoze/bfg/tests/test_integration.py
index 941d47841..14dd6a8ad 100644
--- a/repoze/bfg/tests/test_integration.py
+++ b/repoze/bfg/tests/test_integration.py
@@ -46,8 +46,8 @@ class WGSIAppPlusBFGViewTests(unittest.TestCase):
from repoze.bfg.tests import test_integration
scan(context, test_integration)
actions = context.actions
- self.assertEqual(len(actions), 2)
- action = actions[1]
+ self.assertEqual(len(actions), 1)
+ action = actions[0]
self.assertEqual(action['args'],
('registerAdapter',
wsgiapptest, (INothing, IRequest), IView, '', None))