summaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
deleted file mode 100644
index 3ea15d8..0000000
--- a/tests/__init__.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import os
-import glob
-import unittest
-
-def test_collector():
- """Collect all tests under the tests directory and return a
- unittest.TestSuite
- """
- tests_dir = os.path.realpath(os.path.dirname(__file__))
- test_module_list = [
- 'tests.%s' % os.path.splitext(os.path.basename(t))[0]
- for t in glob.glob(os.path.join(tests_dir, 'test_*.py'))
- ]
- return unittest.TestLoader().loadTestsFromNames(test_module_list)