def test_custom_help_text(self): validator = PWNEDPasswordValidator() self.assertEqual(validator.get_help_text(), "help!")
def test_help_text(self): validator = PWNEDPasswordValidator() self.assertEqual(validator.get_help_text(), validator.help_text)