Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix a Python 2.5-ism.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5109ac370928a5924887424b6d6c803038fcb691 1 parent 8c0eefd
Alex Gaynor authored October 13, 2011
27  tests/regressiontests/forms/tests/__init__.py
... ...
@@ -1,14 +1,21 @@
1 1
 from __future__ import absolute_import
2 2
 
3  
-from .error_messages import *
4  
-from .extra import *
  3
+from .error_messages import (FormsErrorMessagesTestCase,
  4
+    ModelChoiceFieldErrorMessagesTestCase)
  5
+from .extra import FormsExtraTestCase, FormsExtraL10NTestCase
5 6
 from .fields import FieldsTests
6  
-from .forms import *
7  
-from .formsets import *
8  
-from .input_formats import *
9  
-from .media import *
10  
-from .models import *
11  
-from .regressions import *
12  
-from .util import *
  7
+from .forms import FormsTestCase
  8
+from .formsets import (FormsFormsetTestCase, FormsetAsFooTests,
  9
+    TestIsBoundBehavior, TestEmptyFormSet)
  10
+from .input_formats import (LocalizedTimeTests, CustomTimeInputFormatsTests,
  11
+    SimpleTimeFormatTests, LocalizedDateTests, CustomDateInputFormatsTests,
  12
+    SimpleDateFormatTests, LocalizedDateTimeTests,
  13
+    CustomDateTimeInputFormatsTests, SimpleDateTimeFormatTests)
  14
+from .media import FormsMediaTestCase, StaticFormsMediaTestCase
  15
+from .models import (TestTicket12510, ModelFormCallableModelDefault,
  16
+    FormsModelTestCase, RelatedModelFormTests)
  17
+from .regressions import FormsRegressionsTestCase
  18
+from .util import FormsUtilTestCase
13 19
 from .validators import TestFieldWithValidators
14  
-from .widgets import *
  20
+from .widgets import (FormsWidgetTestCase, FormsI18NWidgetsTestCase,
  21
+    WidgetTests, ClearableFileInputTests)

0 notes on commit 5109ac3

Please sign in to comment.
Something went wrong with that request. Please try again.