diff --git a/tests/forms_tests/tests/__init__.py b/tests/forms_tests/tests/__init__.py index 6b4771912f..3fb537ef41 100644 --- a/tests/forms_tests/tests/__init__.py +++ b/tests/forms_tests/tests/__init__.py @@ -1,21 +1,21 @@ from __future__ import absolute_import -from .error_messages import (FormsErrorMessagesTestCase, +from .test_error_messages import (FormsErrorMessagesTestCase, ModelChoiceFieldErrorMessagesTestCase) -from .extra import FormsExtraTestCase, FormsExtraL10NTestCase -from .fields import FieldsTests -from .forms import FormsTestCase -from .formsets import (FormsFormsetTestCase, FormsetAsFooTests, +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 .input_formats import (LocalizedTimeTests, CustomTimeInputFormatsTests, +from .test_input_formats import (LocalizedTimeTests, CustomTimeInputFormatsTests, SimpleTimeFormatTests, LocalizedDateTests, CustomDateInputFormatsTests, SimpleDateFormatTests, LocalizedDateTimeTests, CustomDateTimeInputFormatsTests, SimpleDateTimeFormatTests) -from .media import FormsMediaTestCase, StaticFormsMediaTestCase +from .test_media import FormsMediaTestCase, StaticFormsMediaTestCase from .tests import (TestTicket12510, ModelFormCallableModelDefault, FormsModelTestCase, RelatedModelFormTests) -from .regressions import FormsRegressionsTestCase -from .util import FormsUtilTestCase -from .validators import TestFieldWithValidators -from .widgets import (FormsWidgetTestCase, FormsI18NWidgetsTestCase, +from .test_regressions import FormsRegressionsTestCase +from .test_util import FormsUtilTestCase +from .test_validators import TestFieldWithValidators +from .test_widgets import (FormsWidgetTestCase, FormsI18NWidgetsTestCase, WidgetTests, LiveWidgetTests, ClearableFileInputTests) diff --git a/tests/forms_tests/tests/models.py b/tests/forms_tests/tests/models.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/forms_tests/tests/error_messages.py b/tests/forms_tests/tests/test_error_messages.py similarity index 100% rename from tests/forms_tests/tests/error_messages.py rename to tests/forms_tests/tests/test_error_messages.py diff --git a/tests/forms_tests/tests/extra.py b/tests/forms_tests/tests/test_extra.py similarity index 99% rename from tests/forms_tests/tests/extra.py rename to tests/forms_tests/tests/test_extra.py index 427d099bb2..a83cdfc05f 100644 --- a/tests/forms_tests/tests/extra.py +++ b/tests/forms_tests/tests/test_extra.py @@ -12,7 +12,7 @@ from django.utils import six from django.utils import translation from django.utils.encoding import force_text, smart_text, python_2_unicode_compatible -from .error_messages import AssertFormErrorsMixin +from .test_error_messages import AssertFormErrorsMixin class GetDate(Form): diff --git a/tests/forms_tests/tests/fields.py b/tests/forms_tests/tests/test_fields.py similarity index 100% rename from tests/forms_tests/tests/fields.py rename to tests/forms_tests/tests/test_fields.py diff --git a/tests/forms_tests/tests/forms.py b/tests/forms_tests/tests/test_forms.py similarity index 100% rename from tests/forms_tests/tests/forms.py rename to tests/forms_tests/tests/test_forms.py diff --git a/tests/forms_tests/tests/formsets.py b/tests/forms_tests/tests/test_formsets.py similarity index 100% rename from tests/forms_tests/tests/formsets.py rename to tests/forms_tests/tests/test_formsets.py diff --git a/tests/forms_tests/tests/input_formats.py b/tests/forms_tests/tests/test_input_formats.py similarity index 100% rename from tests/forms_tests/tests/input_formats.py rename to tests/forms_tests/tests/test_input_formats.py diff --git a/tests/forms_tests/tests/media.py b/tests/forms_tests/tests/test_media.py similarity index 100% rename from tests/forms_tests/tests/media.py rename to tests/forms_tests/tests/test_media.py diff --git a/tests/forms_tests/tests/regressions.py b/tests/forms_tests/tests/test_regressions.py similarity index 100% rename from tests/forms_tests/tests/regressions.py rename to tests/forms_tests/tests/test_regressions.py diff --git a/tests/forms_tests/tests/util.py b/tests/forms_tests/tests/test_util.py similarity index 100% rename from tests/forms_tests/tests/util.py rename to tests/forms_tests/tests/test_util.py diff --git a/tests/forms_tests/tests/validators.py b/tests/forms_tests/tests/test_validators.py similarity index 100% rename from tests/forms_tests/tests/validators.py rename to tests/forms_tests/tests/test_validators.py diff --git a/tests/forms_tests/tests/widgets.py b/tests/forms_tests/tests/test_widgets.py similarity index 100% rename from tests/forms_tests/tests/widgets.py rename to tests/forms_tests/tests/test_widgets.py