summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-20 16:33:00 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-20 16:33:00 +0000
commit32634a8734321d0c61892dd6fd90451d380cf6f9 (patch)
treebd0f4b9f89c8c66136fa165a43b254c6ed5461be
parentca76987710c4d16410115235332c481c50632822 (diff)
downloadpyramid-32634a8734321d0c61892dd6fd90451d380cf6f9.tar.gz
pyramid-32634a8734321d0c61892dd6fd90451d380cf6f9.tar.bz2
pyramid-32634a8734321d0c61892dd6fd90451d380cf6f9.zip
Make tests pass on laguna.
-rw-r--r--repoze/bfg/tests/test_testing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/repoze/bfg/tests/test_testing.py b/repoze/bfg/tests/test_testing.py
index a92e340fc..ca3aeb5eb 100644
--- a/repoze/bfg/tests/test_testing.py
+++ b/repoze/bfg/tests/test_testing.py
@@ -96,10 +96,10 @@ class TestTestingFunctions(unittest.TestCase):
from zope.component.event import dispatch
event = object()
dispatch(event)
- self.assertEqual(len(L), 2)
- self.assertEqual(L[1], event)
- dispatch(object())
- self.assertEqual(len(L), 3)
+ self.assertEqual(L[-1], event)
+ event2 = object()
+ dispatch(event2)
+ self.assertEqual(L[-1], event2)
def test_registerView_defaults(self):
from repoze.bfg import testing