mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Modified forms_tests to work with unittest2 discovery.
This commit is contained in:
		
				
					committed by
					
						 Carl Meyer
						Carl Meyer
					
				
			
			
				
	
			
			
			
						parent
						
							d58e985aaa
						
					
				
				
					commit
					cdf520ee86
				
			| @@ -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) | ||||
|   | ||||
| @@ -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): | ||||
		Reference in New Issue
	
	Block a user