From 7d0bd4b8951ef7894668ad3c63607769e208c9d0 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Thu, 23 Apr 2009 14:51:59 +0200 Subject: Rename errors2.py to errors.py. Modify all affected files. --- tests/test_xmlrpc/test_service_plugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test_xmlrpc/test_service_plugin.py') diff --git a/tests/test_xmlrpc/test_service_plugin.py b/tests/test_xmlrpc/test_service_plugin.py index 2a3c90ba9..d1b348ee2 100644 --- a/tests/test_xmlrpc/test_service_plugin.py +++ b/tests/test_xmlrpc/test_service_plugin.py @@ -24,7 +24,7 @@ Test the `ipalib/plugins/f_service` module. import sys from xmlrpc_test import XMLRPC_test from ipalib import api -from ipalib import errors2 +from ipalib import errors class test_Service(XMLRPC_test): @@ -51,7 +51,7 @@ class test_Service(XMLRPC_test): kw={'principal':self.hostprincipal} try: res = api.Command['service_add'](**kw) - except errors2.HostService: + except errors.HostService: pass else: assert False @@ -63,7 +63,7 @@ class test_Service(XMLRPC_test): kw={'principal': u'foo'} try: res = api.Command['service_add'](**kw) - except errors2.MalformedServicePrincipal: + except errors.MalformedServicePrincipal: pass else: assert False @@ -75,7 +75,7 @@ class test_Service(XMLRPC_test): kw={'principal': u'HTTP/foo@FOO.NET'} try: res = api.Command['service_add'](**kw) - except errors2.RealmMismatch: + except errors.RealmMismatch: pass else: assert False @@ -107,7 +107,7 @@ class test_Service(XMLRPC_test): # Verify that it is gone try: res = api.Command['service_show'](self.principal) - except errors2.NotFound: + except errors.NotFound: pass else: assert False -- cgit