Browse Source

Removed unneeded imports in tests's __init__.py and unified them.

Florian Apolloner 11 years ago
parent
commit
df2fd4e09b

+ 0 - 1
tests/admin_custom_urls/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/bash_completion/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/bash_completion/management/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/bash_completion/management/commands/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 8
tests/comment_tests/tests/__init__.py

@@ -83,11 +83,3 @@ class CommentTestCase(TestCase):
         d.update(f.initial)
         return d
 
-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 *

+ 0 - 1
tests/conditional_processing/__init__.py

@@ -1 +0,0 @@
-# -*- coding:utf-8 -*-

+ 0 - 1
tests/delete_regress/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 2
tests/dispatch/__init__.py

@@ -1,2 +0,0 @@
-"""Unit-tests for the dispatch project
-"""

+ 0 - 6
tests/dispatch/tests/__init__.py

@@ -1,6 +0,0 @@
-"""
-Unit-tests for the dispatch project
-"""
-
-from .test_dispatcher import DispatcherTests, ReceiverTestCase
-from .test_saferef import SaferefTests

+ 0 - 1
tests/distinct_on_fields/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/file_storage/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/files/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 2
tests/fixtures/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 2
tests/fixtures_model_package/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 19
tests/forms_tests/tests/__init__.py

@@ -1,19 +0,0 @@
-from .test_error_messages import (FormsErrorMessagesTestCase,
-    ModelChoiceFieldErrorMessagesTestCase)
-from .test_extra import FormsExtraTestCase, FormsExtraL10NTestCase
-from .test_fields import FieldsTests
-from .test_forms import FormsTestCase
-from .test_formsets import (FormsFormsetTestCase, FormsetAsFooTests,
-    TestIsBoundBehavior, TestEmptyFormSet)
-from .test_input_formats import (LocalizedTimeTests, CustomTimeInputFormatsTests,
-    SimpleTimeFormatTests, LocalizedDateTests, CustomDateInputFormatsTests,
-    SimpleDateFormatTests, LocalizedDateTimeTests,
-    CustomDateTimeInputFormatsTests, SimpleDateTimeFormatTests)
-from .test_media import FormsMediaTestCase, StaticFormsMediaTestCase
-from .tests import (TestTicket12510, TestTicket14567, ModelFormCallableModelDefault,
-    FormsModelTestCase, RelatedModelFormTests)
-from .test_regressions import FormsRegressionsTestCase
-from .test_util import FormsUtilTestCase
-from .test_validators import TestFieldWithValidators
-from .test_widgets import (FormsWidgetTestCase, FormsI18NWidgetsTestCase,
-    WidgetTests, LiveWidgetTests, ClearableFileInputTests)

+ 0 - 1
tests/inspectdb/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/invalid_models/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/m2m_signals/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 2
tests/m2m_through/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 2
tests/m2m_through_regress/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 2
tests/mail/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 1
tests/max_lengths/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 1
tests/model_package/__init__.py

@@ -1 +0,0 @@
-

+ 0 - 3
tests/requests/__init__.py

@@ -1,3 +0,0 @@
-"""
-Tests for Django's various Request objects.
-"""

+ 0 - 1
tests/select_for_update/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 2
tests/unmanaged_models/__init__.py

@@ -1,2 +0,0 @@
-
-

+ 0 - 1
tests/view_tests/app0/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/view_tests/app1/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/view_tests/app2/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/view_tests/app3/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 1
tests/view_tests/app4/__init__.py

@@ -1 +0,0 @@
-#

+ 0 - 8
tests/view_tests/tests/__init__.py

@@ -1,8 +0,0 @@
-from .test_debug import (DebugViewTests, ExceptionReporterTests,
-    ExceptionReporterTests, PlainTextReportTests, ExceptionReporterFilterTests,
-    AjaxResponseExceptionReporterFilter)
-from .test_defaults import DefaultsTests
-from .test_i18n import JsI18NTests, I18NTests, JsI18NTestsMultiPackage, JavascriptI18nTests
-from .test_shortcuts import ShortcutTests
-from .test_specials import URLHandling
-from .test_static import StaticHelperTest, StaticUtilsTests, StaticTests