File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ from lists.forms import ItemForm
72
72
73
73
74
74
class ItemFormTest(TestCase):
75
-
76
75
def test_form_renders_item_text_input(self):
77
76
form = ItemForm()
78
77
self.fail(form.as_p())
@@ -222,6 +221,7 @@ from django import forms
222
221
223
222
from lists.models import Item
224
223
224
+
225
225
class ItemForm(forms.models.ModelForm):
226
226
227
227
class Meta:
@@ -378,7 +378,6 @@ error strings? Having a constant:
378
378
----
379
379
EMPTY_ITEM_ERROR = "You can't have an empty list item"
380
380
[...]
381
-
382
381
error_messages = {"text": {"required": EMPTY_ITEM_ERROR}}
383
382
----
384
383
====
@@ -1120,8 +1119,6 @@ I promise we'll talk. Let's first see if we're back to passing tests:
1120
1119
----
1121
1120
$ pass:quotes[*python src/manage.py test functional_tests*]
1122
1121
[...]
1123
- ....
1124
- ---------------------------------------------------------------------
1125
1122
Ran 4 tests in 12.154s
1126
1123
1127
1124
OK
You can’t perform that action at this time.
0 commit comments