From d7569a84b94ab304a1b7f353ea71c15061ebd5d4 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 31 Jul 2008 18:57:10 +0000 Subject: 31: Renamed exceptions.py to errors.py --- ipalib/tests/test_plugable.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ipalib/tests/test_plugable.py') diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index 1ba02113..f0bdeb4a 100644 --- a/ipalib/tests/test_plugable.py +++ b/ipalib/tests/test_plugable.py @@ -21,7 +21,7 @@ Unit tests for `ipalib.plugable` module. """ -from ipalib import plugable, exceptions +from ipalib import plugable, errors def test_Registrar(): @@ -56,7 +56,7 @@ def test_Registrar(): raised = False try: r(plugin3) - except exceptions.SubclassError: + except errors.SubclassError: raised = True assert raised @@ -74,7 +74,7 @@ def test_Registrar(): raised = False try: r(plugin1) - except exceptions.DuplicateError: + except errors.DuplicateError: raised = True assert raised @@ -88,7 +88,7 @@ def test_Registrar(): raised = False try: r(plugin1) - except exceptions.OverrideError: + except errors.OverrideError: raised = True assert raised @@ -104,7 +104,7 @@ def test_Registrar(): raised = False try: r(plugin2, override=True) - except exceptions.MissingOverrideError: + except errors.MissingOverrideError: raised = True assert raised -- cgit