Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed failing tests caused by r14667

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 73cd9b61c9142a72e19dae6c6bd97244eb7a8adc 1 parent aee9db9
@HonzaKral HonzaKral authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/model_formsets_regress/tests.py
View
4 tests/regressiontests/model_formsets_regress/tests.py
@@ -196,12 +196,12 @@ class FormfieldCallbackTests(TestCase):
def test_inlineformset_factory_default(self):
Formset = inlineformset_factory(User, UserSite, form=UserSiteForm)
- form = Formset({}).forms[0]
+ form = Formset().forms[0]
self.assertTrue(isinstance(form['data'].field.widget, CustomWidget))
def test_modelformset_factory_default(self):
Formset = modelformset_factory(UserSite, form=UserSiteForm)
- form = Formset({}).forms[0]
+ form = Formset().forms[0]
self.assertTrue(isinstance(form['data'].field.widget, CustomWidget))
def assertCallbackCalled(self, callback):
Please sign in to comment.
Something went wrong with that request. Please try again.