From f79c54871da0c36daaa559ec4a86f3e926bbe9ff Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 23 Apr 2014 21:02:46 +0800 Subject: [PATCH] tests: Make tests compatible with django 1.6 The default test runner in django 1.6 relies on tests being named test*.py, rather that an explicit .test module. Signed-off-by: Jeremy Kerr --- apps/patchwork/tests/__init__.py | 28 +++++++++---------- .../tests/{bundles.py => test_bundles.py} | 0 .../tests/{confirm.py => test_confirm.py} | 0 .../tests/{encodings.py => test_encodings.py} | 0 .../tests/{expiry.py => test_expiry.py} | 0 .../tests/{filters.py => test_filters.py} | 0 .../patchwork/tests/{list.py => test_list.py} | 0 ...mail_settings.py => test_mail_settings.py} | 0 .../tests/{mboxviews.py => test_mboxviews.py} | 0 ...notifications.py => test_notifications.py} | 0 .../{patchparser.py => test_patchparser.py} | 0 .../tests/{person.py => test_person.py} | 0 .../{registration.py => test_registration.py} | 0 .../tests/{updates.py => test_updates.py} | 0 .../patchwork/tests/{user.py => test_user.py} | 0 15 files changed, 14 insertions(+), 14 deletions(-) rename apps/patchwork/tests/{bundles.py => test_bundles.py} (100%) rename apps/patchwork/tests/{confirm.py => test_confirm.py} (100%) rename apps/patchwork/tests/{encodings.py => test_encodings.py} (100%) rename apps/patchwork/tests/{expiry.py => test_expiry.py} (100%) rename apps/patchwork/tests/{filters.py => test_filters.py} (100%) rename apps/patchwork/tests/{list.py => test_list.py} (100%) rename apps/patchwork/tests/{mail_settings.py => test_mail_settings.py} (100%) rename apps/patchwork/tests/{mboxviews.py => test_mboxviews.py} (100%) rename apps/patchwork/tests/{notifications.py => test_notifications.py} (100%) rename apps/patchwork/tests/{patchparser.py => test_patchparser.py} (100%) rename apps/patchwork/tests/{person.py => test_person.py} (100%) rename apps/patchwork/tests/{registration.py => test_registration.py} (100%) rename apps/patchwork/tests/{updates.py => test_updates.py} (100%) rename apps/patchwork/tests/{user.py => test_user.py} (100%) diff --git a/apps/patchwork/tests/__init__.py b/apps/patchwork/tests/__init__.py index 5dfcdee..792d7db 100644 --- a/apps/patchwork/tests/__init__.py +++ b/apps/patchwork/tests/__init__.py @@ -17,17 +17,17 @@ # along with Patchwork; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -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 * -from patchwork.tests.filters import * -from patchwork.tests.confirm import * -from patchwork.tests.registration import * -from patchwork.tests.user import * -from patchwork.tests.mail_settings import * -from patchwork.tests.notifications import * -from patchwork.tests.list import * -from patchwork.tests.person import * -from patchwork.tests.expiry import * +from patchwork.tests.test_patchparser import * +from patchwork.tests.test_encodings import * +from patchwork.tests.test_bundles import * +from patchwork.tests.test_mboxviews import * +from patchwork.tests.test_updates import * +from patchwork.tests.test_filters import * +from patchwork.tests.test_confirm import * +from patchwork.tests.test_registration import * +from patchwork.tests.test_user import * +from patchwork.tests.test_mail_settings import * +from patchwork.tests.test_notifications import * +from patchwork.tests.test_list import * +from patchwork.tests.test_person import * +from patchwork.tests.test_expiry import * diff --git a/apps/patchwork/tests/bundles.py b/apps/patchwork/tests/test_bundles.py similarity index 100% rename from apps/patchwork/tests/bundles.py rename to apps/patchwork/tests/test_bundles.py diff --git a/apps/patchwork/tests/confirm.py b/apps/patchwork/tests/test_confirm.py similarity index 100% rename from apps/patchwork/tests/confirm.py rename to apps/patchwork/tests/test_confirm.py diff --git a/apps/patchwork/tests/encodings.py b/apps/patchwork/tests/test_encodings.py similarity index 100% rename from apps/patchwork/tests/encodings.py rename to apps/patchwork/tests/test_encodings.py diff --git a/apps/patchwork/tests/expiry.py b/apps/patchwork/tests/test_expiry.py similarity index 100% rename from apps/patchwork/tests/expiry.py rename to apps/patchwork/tests/test_expiry.py diff --git a/apps/patchwork/tests/filters.py b/apps/patchwork/tests/test_filters.py similarity index 100% rename from apps/patchwork/tests/filters.py rename to apps/patchwork/tests/test_filters.py diff --git a/apps/patchwork/tests/list.py b/apps/patchwork/tests/test_list.py similarity index 100% rename from apps/patchwork/tests/list.py rename to apps/patchwork/tests/test_list.py diff --git a/apps/patchwork/tests/mail_settings.py b/apps/patchwork/tests/test_mail_settings.py similarity index 100% rename from apps/patchwork/tests/mail_settings.py rename to apps/patchwork/tests/test_mail_settings.py diff --git a/apps/patchwork/tests/mboxviews.py b/apps/patchwork/tests/test_mboxviews.py similarity index 100% rename from apps/patchwork/tests/mboxviews.py rename to apps/patchwork/tests/test_mboxviews.py diff --git a/apps/patchwork/tests/notifications.py b/apps/patchwork/tests/test_notifications.py similarity index 100% rename from apps/patchwork/tests/notifications.py rename to apps/patchwork/tests/test_notifications.py diff --git a/apps/patchwork/tests/patchparser.py b/apps/patchwork/tests/test_patchparser.py similarity index 100% rename from apps/patchwork/tests/patchparser.py rename to apps/patchwork/tests/test_patchparser.py diff --git a/apps/patchwork/tests/person.py b/apps/patchwork/tests/test_person.py similarity index 100% rename from apps/patchwork/tests/person.py rename to apps/patchwork/tests/test_person.py diff --git a/apps/patchwork/tests/registration.py b/apps/patchwork/tests/test_registration.py similarity index 100% rename from apps/patchwork/tests/registration.py rename to apps/patchwork/tests/test_registration.py diff --git a/apps/patchwork/tests/updates.py b/apps/patchwork/tests/test_updates.py similarity index 100% rename from apps/patchwork/tests/updates.py rename to apps/patchwork/tests/test_updates.py diff --git a/apps/patchwork/tests/user.py b/apps/patchwork/tests/test_user.py similarity index 100% rename from apps/patchwork/tests/user.py rename to apps/patchwork/tests/test_user.py -- 2.39.2