summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_user_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-01-28 21:47:21 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:04 -0500
commit5717c9d6689f15c46801f2d251e174fad4ce4748 (patch)
tree31e2a3378638bd63005a3d65d7fe74159860456c /tests/test_xmlrpc/test_user_plugin.py
parent48a278047db50f919a45ef82a57a6983804ed523 (diff)
downloadfreeipa-5717c9d6689f15c46801f2d251e174fad4ce4748.tar.gz
freeipa-5717c9d6689f15c46801f2d251e174fad4ce4748.tar.xz
freeipa-5717c9d6689f15c46801f2d251e174fad4ce4748.zip
Applied Rob's errors patch
Diffstat (limited to 'tests/test_xmlrpc/test_user_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_user_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_user_plugin.py b/tests/test_xmlrpc/test_user_plugin.py
index 72b5e808b..ec21f4aaf 100644
--- a/tests/test_xmlrpc/test_user_plugin.py
+++ b/tests/test_xmlrpc/test_user_plugin.py
@@ -55,7 +55,7 @@ class test_User(XMLRPC_test):
"""
try:
res = api.Command['user_add'](**self.kw)
- except errors.DuplicateEntry:
+ except errors2.DuplicateEntry:
pass
def test_doshow(self):
@@ -140,7 +140,7 @@ class test_User(XMLRPC_test):
# Verify that it is gone
try:
res = api.Command['user_show'](self.uid)
- except errors.NotFound:
+ except errors2.NotFound:
pass
else:
assert False