(self)
| 75 | 'ErrorDetail(string={!r}, code={!r})'.format('msg1', 'code') |
| 76 | |
| 77 | def test_str(self): |
| 78 | assert str(ErrorDetail('msg1')) == 'msg1' |
| 79 | assert str(ErrorDetail('msg1', 'code')) == 'msg1' |
| 80 | |
| 81 | def test_hash(self): |
| 82 | assert hash(ErrorDetail('msg')) == hash('msg') |
nothing calls this directly
no test coverage detected