diff options
author | Andy Doan <andy.doan@linaro.org> | 2015-06-08 10:20:19 -0500 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2015-06-08 10:37:16 -0500 |
commit | cedbe173c2eaf94fdf056aa60b23bee357ec3bf4 (patch) | |
tree | 14f74903d474c049a365e08b66ba9ffc9495000b | |
parent | 417f618308df9811fe734791633115fe704a310a (diff) |
simplify management of test cases
This module is a pain to remember when you add new test classes.
Change-Id: I2d232f7799e34a5558964b5a4c04f29b8c35a631
-rw-r--r-- | license_protected_downloads/tests/__init__.py | 67 |
1 files changed, 12 insertions, 55 deletions
diff --git a/license_protected_downloads/tests/__init__.py b/license_protected_downloads/tests/__init__.py index 5164a57..04a7f3b 100644 --- a/license_protected_downloads/tests/__init__.py +++ b/license_protected_downloads/tests/__init__.py @@ -1,56 +1,13 @@ -from license_protected_downloads.tests.test_buildinfo import ( - BuildInfoTests, - FileNameMatchingTests, -) -from license_protected_downloads.tests.test_splicebuildinfos import ( - SpliceBuildInfosTests -) -from license_protected_downloads.tests.test_models import ( - LicenseTestCase, - APITokenTests, -) -from license_protected_downloads.tests.test_pep8 import TestPep8 -from license_protected_downloads.tests.test_pyflakes import TestPyflakes -from license_protected_downloads.tests.test_common import ( - CommonTests, -) -from license_protected_downloads.tests.test_views import ( - FileViewTests, - HowtoViewTests, - ViewTests, - ViewHelpersTests, -) -from license_protected_downloads.tests.test_api_v1 import ( - APITests, -) -from license_protected_downloads.tests.test_api_v2 import ( - APIv2Tests, -) -from license_protected_downloads.tests.test_openid_auth import TestOpenIDAuth -from license_protected_downloads.tests.test_custom_commands import ( - SetsuperuserCommandTest -) -from license_protected_downloads.tests.test_render_text_files import ( - RenderTextFilesTests -) -#starts the test suite -__test__ = { - 'CommonTests': CommonTests, - 'APITests': APITests, - 'APIv2Tests': APIv2Tests, - 'APITokenTests': APITokenTests, - 'BuildInfoTests': BuildInfoTests, - 'SpliceBuildInfosTests': SpliceBuildInfosTests, - 'FileNameMatchingTests': FileNameMatchingTests, - 'FileViewTests': FileViewTests, - 'HowtoViewTests': HowtoViewTests, - 'LicenseTestCase': LicenseTestCase, - 'RenderTextFilesTests': RenderTextFilesTests, - 'SetsuperuserCommandTest': SetsuperuserCommandTest, - 'TestOpenIDAuth': TestOpenIDAuth, - 'TestPep8': TestPep8, - 'TestPyflakes': TestPyflakes, - 'ViewTests': ViewTests, - 'ViewHelpersTests': ViewHelpersTests, -} +from license_protected_downloads.tests.test_buildinfo import * +from license_protected_downloads.tests.test_api_v1 import * +from license_protected_downloads.tests.test_api_v2 import * +from license_protected_downloads.tests.test_common import * +from license_protected_downloads.tests.test_custom_commands import * +from license_protected_downloads.tests.test_models import * +from license_protected_downloads.tests.test_pep8 import * +from license_protected_downloads.tests.test_openid_auth import * +from license_protected_downloads.tests.test_pyflakes import * +from license_protected_downloads.tests.test_render_text_files import * +from license_protected_downloads.tests.test_splicebuildinfos import * +from license_protected_downloads.tests.test_views import *
\ No newline at end of file |