diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-23 22:40:59 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-23 22:40:59 +0000 |
| commit | addf9976fd1ec2b3e5c9db80957ab7b6907edab1 (patch) | |
| tree | 1299e1202b024a6a8dc4076d8bd61f52b13aff55 /repoze/bfg/tests/test_testing.py | |
| parent | 7696aab2e51ff7b49ae825219e79fed201f7163f (diff) | |
| download | pyramid-addf9976fd1ec2b3e5c9db80957ab7b6907edab1.tar.gz pyramid-addf9976fd1ec2b3e5c9db80957ab7b6907edab1.tar.bz2 pyramid-addf9976fd1ec2b3e5c9db80957ab7b6907edab1.zip | |
- The ``repoze.bfg.testing.registerRoutesMapper`` API (added in an
early 1.2 alpha) was deprecated. Its import now generates a
deprecation warning.
- Docs roles.
Diffstat (limited to 'repoze/bfg/tests/test_testing.py')
| -rw-r--r-- | repoze/bfg/tests/test_testing.py | 3 |
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: |
