summaryrefslogtreecommitdiffstats
path: root/ipalib/tests/test_plugable.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-31 18:57:10 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-07-31 18:57:10 +0000
commitd7569a84b94ab304a1b7f353ea71c15061ebd5d4 (patch)
tree3845f54c9c5767ab2bb003576d7e0a6e813a007e /ipalib/tests/test_plugable.py
parentbc1675dc3853748064dbf1485bf58bce0e344add (diff)
downloadfreeipa.git-d7569a84b94ab304a1b7f353ea71c15061ebd5d4.tar.gz
freeipa.git-d7569a84b94ab304a1b7f353ea71c15061ebd5d4.tar.xz
freeipa.git-d7569a84b94ab304a1b7f353ea71c15061ebd5d4.zip
31: Renamed exceptions.py to errors.py
Diffstat (limited to 'ipalib/tests/test_plugable.py')
-rw-r--r--ipalib/tests/test_plugable.py10
1 files changed, 5 insertions, 5 deletions
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