aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 22658d5..9d8513f 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,12 +1,12 @@
import unittest
import tests.test_click_through_license
+import tests.test_publish_to_snapshots
def test_suite():
- module_names = [
- 'tests.test_click_through_license.TestLicense',
- 'tests.test_publish_to_snapshots.TestSnapshotsPublisher',
+ modules = [
+ tests.test_click_through_license,
+ tests.test_publish_to_snapshots,
]
loader = unittest.TestLoader()
- suite = loader.loadTestsFromNames(module_names)
- return suite
+ return loader.discover('tests', top_level_dir='tests')