(self)
| 734 | ) |
| 735 | |
| 736 | def test_message_dict(self): |
| 737 | v = ValidationError({"first": ["First Problem"]}) |
| 738 | self.assertEqual(str(v), "{'first': ['First Problem']}") |
| 739 | self.assertEqual(repr(v), "ValidationError({'first': ['First Problem']})") |
| 740 | |
| 741 | def test_regex_validator_flags(self): |
| 742 | msg = "If the flags are set, regex must be a regular expression string." |
nothing calls this directly
no test coverage detected