def test_custom_error_message(self): html = lazy_tags.lazy_tags_js(self.context) self.assertIn('<p>Custom error message!</p>', html)
def test_default_error_message(self): html = lazy_tags.lazy_tags_js(self.context) self.assertIn('An error occurred.', html)