X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fpatchwork%2Ftests%2F__init__.py;fp=apps%2Fpatchwork%2Ftests%2F__init__.py;h=57e15cdb2cee3caf1fed8b78ac1159c7859e284c;hb=14bb22b8de1b8eee9102159a34d8e2218a8a2bd6;hp=5ec3923797233de4d5bc96e4fbb5802e0d2c8332;hpb=c6d26672a7ecb8973b361770668661eec2fa24a2;p=patchwork diff --git a/apps/patchwork/tests/__init__.py b/apps/patchwork/tests/__init__.py index 5ec3923..57e15cd 100644 --- a/apps/patchwork/tests/__init__.py +++ b/apps/patchwork/tests/__init__.py @@ -17,17 +17,8 @@ # along with Patchwork; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -import unittest -from patchwork.tests import patchparser, encodings, bundles, mboxviews, updates - -modules = [patchparser, encodings, bundles, mboxviews, updates] - -def suite(): - suite = unittest.TestSuite() - loader = unittest.TestLoader() - - for module in modules: - tests = loader.loadTestsFromModule(module) - suite.addTests(tests) - - return suite +from patchwork.tests.patchparser import * +from patchwork.tests.encodings import * +from patchwork.tests.bundles import * +from patchwork.tests.mboxviews import * +from patchwork.tests.updates import *