def test_form_item_input_has_placeholder(self): form = LinkForm() self.assertIn('placeholder="Enter a descriptive title"', form.as_p())