Example #1
0
 def test_forms_task_input_task_has_placeholder(self):
     """
     Check that placeholder task exist
     """
     form = TaskForm()
     self.assertIn('placeholder="Задача"', form.as_p())
Example #2
0
 def test_forms_task_input_description_has_placeholder(self):
     """
     Check that placeholder description exist
     """
     form = TaskForm()
     self.assertIn('placeholder="Описание"', form.as_p())