summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2009-06-19 22:50:40 +0000
committerTres Seaver <tseaver@palladion.com>2009-06-19 22:50:40 +0000
commit158312b1527c3b407879552019fad5c050ff81cc (patch)
treebccb9c6ce85b723d4e34b99692d6c19ce47e236a
parent948cc8a14d334ce696e58530b006e39d4dcfa9b4 (diff)
downloadpyramid-158312b1527c3b407879552019fad5c050ff81cc.tar.gz
pyramid-158312b1527c3b407879552019fad5c050ff81cc.tar.bz2
pyramid-158312b1527c3b407879552019fad5c050ff81cc.zip
Fix strange test breakage.
-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))