From a294cdfef34cda587d288a457c9a2e7bf760e916 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 9 Dec 2009 01:21:21 +0000 Subject: - The exception class representing the error raised by various methods of a ``Configurator`` is now importable as ``repoze.bfg.exceptions.ConfigurationError``. --- repoze/bfg/tests/test_zcml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repoze/bfg/tests/test_zcml.py') 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): """ """ -- cgit v1.2.3