summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorRamin Farajpour Cami <ramin.blackhat@gmail.com>2016-11-12 20:41:23 +0330
committerTim Graham <timograham@gmail.com>2016-11-14 12:30:46 -0500
commit967be82443b5640d61608a89897d8ce2bc44fa54 (patch)
tree9905e1156e27aa3d1226da3dde1223a5087b0d55 /tests/forms_tests
parent6072de727f0ffa7bf0aa67aadba5d4589561974d (diff)
Fixed E305 flake8 warnings.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/tests/test_formsets.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py
index 724c16c4fa..8e04ce76cd 100644
--- a/tests/forms_tests/tests/test_formsets.py
+++ b/tests/forms_tests/tests/test_formsets.py
@@ -53,6 +53,7 @@ FavoriteDrinksFormSet = formset_factory(FavoriteDrinkForm, formset=BaseFavoriteD
class SplitDateTimeForm(Form):
when = SplitDateTimeField(initial=datetime.datetime.now)
+
SplitDateTimeFormSet = formset_factory(SplitDateTimeForm)
@@ -1281,6 +1282,7 @@ class ArticleForm(Form):
title = CharField()
pub_date = DateField()
+
ArticleFormSet = formset_factory(ArticleForm)