Moved tstutil.py into base of tests so it can be used by all test subpackages more easily

This commit is contained in:
Jason Gerard DeRose 2008-10-07 21:59:47 -06:00
parent 9ec8bf9e9e
commit f6ac2df6bd
11 changed files with 12 additions and 12 deletions

View File

@ -22,7 +22,7 @@ Test the `ipalib.backend` module.
"""
from ipalib import backend, plugable, errors
from tstutil import ClassChecker
from tests.tstutil import ClassChecker
class test_Backend(ClassChecker):

View File

@ -21,7 +21,7 @@
Test the `ipalib.cli` module.
"""
from tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from tests.tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from ipalib import cli, plugable

View File

@ -23,7 +23,7 @@ Test the `ipalib.config` module.
import types
from tstutil import raises
from tests.tstutil import raises
from ipalib import config

View File

@ -21,7 +21,7 @@
Test the `ipalib.crud` module.
"""
from tstutil import read_only, raises, ClassChecker
from tests.tstutil import read_only, raises, ClassChecker
from ipalib import crud, frontend, plugable, config
def get_api():

View File

@ -21,7 +21,7 @@
Test the `ipalib.errors` module.
"""
from tstutil import raises, ClassChecker
from tests.tstutil import raises, ClassChecker
from ipalib import errors

View File

@ -21,8 +21,8 @@
Test the `ipalib.frontend` module.
"""
from tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from tstutil import check_TypeError
from tests.tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from tests.tstutil import check_TypeError
from ipalib import frontend, backend, plugable, errors, ipa_types, config

View File

@ -21,7 +21,7 @@
Test the `ipalib.ipa_types` module.
"""
from tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from tests.tstutil import raises, getitem, no_set, no_del, read_only, ClassChecker
from ipalib import ipa_types, errors, plugable

View File

@ -21,9 +21,9 @@
Test the `ipalib.plugable` module.
"""
from tstutil import raises, no_set, no_del, read_only
from tstutil import getitem, setitem, delitem
from tstutil import ClassChecker
from tests.tstutil import raises, no_set, no_del, read_only
from tests.tstutil import getitem, setitem, delitem
from tests.tstutil import ClassChecker
from ipalib import plugable, errors

View File

@ -21,7 +21,7 @@
Test the `ipalib.util` module.
"""
from tstutil import raises
from tests.tstutil import raises
from ipalib import util