From 5e84abec14fe43cc08198411cbd2b67804ab7e47 Mon Sep 17 00:00:00 2001 From: Preston Timmons Date: Sat, 6 Apr 2013 13:29:35 -0500 Subject: [PATCH] Modified comment_tests for unittest2 discovery. --- tests/comment_tests/tests/__init__.py | 16 ++++++++-------- .../tests/{app_api_tests.py => test_app_api.py} | 0 ...omment_form_tests.py => test_comment_form.py} | 0 ...tests.py => test_comment_utils_moderators.py} | 0 ...omment_view_tests.py => test_comment_view.py} | 0 .../tests/{feed_tests.py => test_feeds.py} | 0 .../tests/{model_tests.py => test_models.py} | 0 ...on_view_tests.py => test_moderation_views.py} | 0 ...templatetag_tests.py => test_templatetags.py} | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename tests/comment_tests/tests/{app_api_tests.py => test_app_api.py} (100%) rename tests/comment_tests/tests/{comment_form_tests.py => test_comment_form.py} (100%) rename tests/comment_tests/tests/{comment_utils_moderators_tests.py => test_comment_utils_moderators.py} (100%) rename tests/comment_tests/tests/{comment_view_tests.py => test_comment_view.py} (100%) rename tests/comment_tests/tests/{feed_tests.py => test_feeds.py} (100%) rename tests/comment_tests/tests/{model_tests.py => test_models.py} (100%) rename tests/comment_tests/tests/{moderation_view_tests.py => test_moderation_views.py} (100%) rename tests/comment_tests/tests/{templatetag_tests.py => test_templatetags.py} (100%) diff --git a/tests/comment_tests/tests/__init__.py b/tests/comment_tests/tests/__init__.py index d959dab243..ae4585e187 100644 --- a/tests/comment_tests/tests/__init__.py +++ b/tests/comment_tests/tests/__init__.py @@ -85,11 +85,11 @@ class CommentTestCase(TestCase): d.update(f.initial) return d -from comment_tests.tests.app_api_tests import * -from comment_tests.tests.feed_tests import * -from comment_tests.tests.model_tests import * -from comment_tests.tests.comment_form_tests import * -from comment_tests.tests.templatetag_tests import * -from comment_tests.tests.comment_view_tests import * -from comment_tests.tests.moderation_view_tests import * -from comment_tests.tests.comment_utils_moderators_tests import * +from comment_tests.tests.test_app_api import * +from comment_tests.tests.test_feeds import * +from comment_tests.tests.test_models import * +from comment_tests.tests.test_comment_form import * +from comment_tests.tests.test_templatetags import * +from comment_tests.tests.test_comment_view import * +from comment_tests.tests.test_comment_utils_moderators import * +from comment_tests.tests.test_moderation_views import * diff --git a/tests/comment_tests/tests/app_api_tests.py b/tests/comment_tests/tests/test_app_api.py similarity index 100% rename from tests/comment_tests/tests/app_api_tests.py rename to tests/comment_tests/tests/test_app_api.py diff --git a/tests/comment_tests/tests/comment_form_tests.py b/tests/comment_tests/tests/test_comment_form.py similarity index 100% rename from tests/comment_tests/tests/comment_form_tests.py rename to tests/comment_tests/tests/test_comment_form.py diff --git a/tests/comment_tests/tests/comment_utils_moderators_tests.py b/tests/comment_tests/tests/test_comment_utils_moderators.py similarity index 100% rename from tests/comment_tests/tests/comment_utils_moderators_tests.py rename to tests/comment_tests/tests/test_comment_utils_moderators.py diff --git a/tests/comment_tests/tests/comment_view_tests.py b/tests/comment_tests/tests/test_comment_view.py similarity index 100% rename from tests/comment_tests/tests/comment_view_tests.py rename to tests/comment_tests/tests/test_comment_view.py diff --git a/tests/comment_tests/tests/feed_tests.py b/tests/comment_tests/tests/test_feeds.py similarity index 100% rename from tests/comment_tests/tests/feed_tests.py rename to tests/comment_tests/tests/test_feeds.py diff --git a/tests/comment_tests/tests/model_tests.py b/tests/comment_tests/tests/test_models.py similarity index 100% rename from tests/comment_tests/tests/model_tests.py rename to tests/comment_tests/tests/test_models.py diff --git a/tests/comment_tests/tests/moderation_view_tests.py b/tests/comment_tests/tests/test_moderation_views.py similarity index 100% rename from tests/comment_tests/tests/moderation_view_tests.py rename to tests/comment_tests/tests/test_moderation_views.py diff --git a/tests/comment_tests/tests/templatetag_tests.py b/tests/comment_tests/tests/test_templatetags.py similarity index 100% rename from tests/comment_tests/tests/templatetag_tests.py rename to tests/comment_tests/tests/test_templatetags.py