def test_form_renders(self): """test_form_renders() tests input attributes render by HTML.""" form = SearchForm() self.assertIn('class="form-control form-control-lg"', form.as_p())