mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Rename errors2.py to errors.py. Modify all affected files.
This commit is contained in:
committed by
Rob Crittenden
parent
596d410471
commit
7d0bd4b895
@@ -25,7 +25,7 @@ import sys
|
||||
import socket
|
||||
import nose
|
||||
from ipalib import api, request
|
||||
from ipalib import errors2
|
||||
from ipalib import errors
|
||||
|
||||
# Initialize the API. We do this here so that one can run the tests
|
||||
# individually instead of at the top-level. If API.bootstrap()
|
||||
@@ -50,9 +50,9 @@ class XMLRPC_test(object):
|
||||
if not api.Backend.xmlclient.isconnected():
|
||||
api.Backend.xmlclient.connect()
|
||||
res = api.Command['user_show'](u'notfound')
|
||||
except errors2.NetworkError:
|
||||
except errors.NetworkError:
|
||||
raise nose.SkipTest()
|
||||
except errors2.NotFound:
|
||||
except errors.NotFound:
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in New Issue
Block a user