def test_form_search_input_has_placeholder_and_css_classes(self): form = SearchForm() self.assertIn('placeholder="Enter search term(s)"',form.as_p()) self.assertIn('class="form-control input-lg"', form.as_p())