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 committed 2008-10-07 21:59:47 -06:00
1 parent 9ec8bf9e9e
commit f6ac2df6bd
11 files changed
+12 -12

No files matched your search

+1 -1
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):
+1 -1
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
+1 -1
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
+1 -1
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():
+1 -1
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
+2 -2
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
+1 -1
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
+3 -3
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
+1 -1
View File
@@ -21,7 +21,7 @@
Test the `ipalib.util` module.
"""
from tstutil import raises
from tests.tstutil import raises
from ipalib import util
File renamed without changes.
File renamed without changes.