diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-09 01:21:21 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-09 01:21:21 +0000 |
| commit | a294cdfef34cda587d288a457c9a2e7bf760e916 (patch) | |
| tree | a522d838a6e98832a5ed8bf934eabdbc07a3cd98 /repoze/bfg/tests/test_zcml.py | |
| parent | 05d6f55437971a7059ea82e6fd3f6dedb4202ba5 (diff) | |
| download | pyramid-a294cdfef34cda587d288a457c9a2e7bf760e916.tar.gz pyramid-a294cdfef34cda587d288a457c9a2e7bf760e916.tar.bz2 pyramid-a294cdfef34cda587d288a457c9a2e7bf760e916.zip | |
- The exception class representing the error raised by various methods
of a ``Configurator`` is now importable as
``repoze.bfg.exceptions.ConfigurationError``.
Diffstat (limited to 'repoze/bfg/tests/test_zcml.py')
| -rw-r--r-- | repoze/bfg/tests/test_zcml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_zcml.py b/repoze/bfg/tests/test_zcml.py index 148b8cac6..f3e0ed80f 100644 --- a/repoze/bfg/tests/test_zcml.py +++ b/repoze/bfg/tests/test_zcml.py @@ -167,7 +167,7 @@ class TestSystemViewHandler(unittest.TestCase): def test_no_view_no_renderer(self): handler = self._makeOne(IDummy) - from zope.configuration.exceptions import ConfigurationError + from repoze.bfg.exceptions import ConfigurationError context = DummyContext() handler(context) actions = context.actions @@ -358,7 +358,7 @@ class TestAuthTktAuthenticationPolicyDirective(unittest.TestCase): self.assertEqual(policy.callback, callback) def test_it_configerror(self): - from zope.configuration.exceptions import ConfigurationError + from repoze.bfg.exceptions import ConfigurationError context = DummyContext() def callback(identity, request): """ """ |
