diff options
| author | Dmitry Dygalo <dadygalo@gmail.com> | 2016-07-21 10:28:40 +0200 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2016-07-21 10:08:19 -0400 |
| commit | ca32979cdcafe28cc9cba2c189787e536fef9bb9 (patch) | |
| tree | 3befb4bf9f46c5e6486039ad7eab549405a00518 /tests/forms_tests | |
| parent | a05d86a69a7f11f00032b8d7846932b139c670e0 (diff) | |
Made miscellaneous code cleanups
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_formsets.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index d432a5d2d9..2cd86342b9 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -1316,10 +1316,10 @@ class TestIsBoundBehavior(SimpleTestCase): unbound_formset = ArticleFormSet() bound_formset = ArticleFormSet(data) - empty_forms = [] - - empty_forms.append(unbound_formset.empty_form) - empty_forms.append(bound_formset.empty_form) + empty_forms = [ + unbound_formset.empty_form, + bound_formset.empty_form + ] # Empty forms should be unbound self.assertFalse(empty_forms[0].is_bound) |
