aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanilo Segan <danilo@canonical.com>2012-07-11 15:49:21 +0200
committerDanilo Segan <danilo@canonical.com>2012-07-11 15:49:21 +0200
commit7c8590e9e15eaa49a49d37372a643b05ae9d7aa6 (patch)
tree42b4fc2de4a927c70d76061c04bd46f069300757 /tests
parent8af626f9eb9a5da12d3bb3a4886245e959e85cec (diff)
parentabdbf141ea4e19776db61c293c37cdbc79175cda (diff)
Merge OpenID support by Paul and Stevan.
Diffstat (limited to 'tests')
-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')