summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests/test_testing.py')
-rw-r--r--repoze/bfg/tests/test_testing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/tests/test_testing.py b/repoze/bfg/tests/test_testing.py
index 4762eda19..1b3d731fa 100644
--- a/repoze/bfg/tests/test_testing.py
+++ b/repoze/bfg/tests/test_testing.py
@@ -560,9 +560,10 @@ class Test_setUp(unittest.TestCase):
old = True
manager.push(old)
try:
- self._callFUT()
+ config = self._callFUT()
current = manager.get()
self.failIf(current is old)
+ self.assertEqual(config.registry, current['registry'])
self.assertEqual(current['registry'].__class__, Registry)
self.assertEqual(current['request'], None)
finally: