summaryrefslogtreecommitdiff
path: root/test/testenv.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-06-10 21:18:24 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-06-10 21:18:24 +0000
commit45cec095b4904ba71425d2fe18c143982dd08f43 (patch)
treeaf5e540fdcbf1cb2a3337157d69d4b40be010fa8 /test/testenv.py
parent698a3c1ac665e7cd2ef8d5ad3ebf51b7fe6661f4 (diff)
downloadsqlalchemy-45cec095b4904ba71425d2fe18c143982dd08f43.tar.gz
- unit tests have been migrated from unittest to nose.
See README.unittests for information on how to run the tests. [ticket:970]
Diffstat (limited to 'test/testenv.py')
-rw-r--r--test/testenv.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/testenv.py b/test/testenv.py
deleted file mode 100644
index 808a3c5f0..000000000
--- a/test/testenv.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""First import for all test cases, sets sys.path and loads configuration."""
-
-import sys, os, logging, warnings
-
-if sys.version_info < (2, 4):
- warnings.filterwarnings('ignore', category=FutureWarning)
-
-
-from testlib.testing import main
-import testlib.config
-
-
-_setup = False
-
-def configure_for_tests():
- """import testenv; testenv.configure_for_tests()"""
-
- global _setup
- if not _setup:
- sys.path.insert(0, os.path.join(os.getcwd(), 'lib'))
- logging.basicConfig()
-
- testlib.config.configure()
- _setup = True
-
-def simple_setup():
- """import testenv; testenv.simple_setup()"""
-
- global _setup
- if not _setup:
- sys.path.insert(0, os.path.join(os.getcwd(), 'lib'))
- logging.basicConfig()
-
- testlib.config.configure_defaults()
- _setup = True
-