Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified forms_tests to work with unittest2 discovery.

  • Loading branch information...
commit cdf520ee86e7613f29421fb2c99646ce00899b3d 1 parent d58e985
@prestontimmons prestontimmons authored carljm committed
View
22 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)
View
0  tests/forms_tests/tests/models.py
No changes.
View
0  tests/forms_tests/tests/error_messages.py → tests/forms_tests/tests/test_error_messages.py
File renamed without changes
View
2  tests/forms_tests/tests/extra.py → tests/forms_tests/tests/test_extra.py
@@ -12,7 +12,7 @@
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):
View
0  tests/forms_tests/tests/fields.py → tests/forms_tests/tests/test_fields.py
File renamed without changes
View
0  tests/forms_tests/tests/forms.py → tests/forms_tests/tests/test_forms.py
File renamed without changes
View
0  tests/forms_tests/tests/formsets.py → tests/forms_tests/tests/test_formsets.py
File renamed without changes
View
0  tests/forms_tests/tests/input_formats.py → tests/forms_tests/tests/test_input_formats.py
File renamed without changes
View
0  tests/forms_tests/tests/media.py → tests/forms_tests/tests/test_media.py
File renamed without changes
View
0  tests/forms_tests/tests/regressions.py → tests/forms_tests/tests/test_regressions.py
File renamed without changes
View
0  tests/forms_tests/tests/util.py → tests/forms_tests/tests/test_util.py
File renamed without changes
View
0  tests/forms_tests/tests/validators.py → tests/forms_tests/tests/test_validators.py
File renamed without changes
View
0  tests/forms_tests/tests/widgets.py → tests/forms_tests/tests/test_widgets.py
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.