Improve mock_constructor() old pointer error message
Offen
Better Error Messages
enhancement
mock_constructor
- Vorherrschende Sprache
- Python
- Sterne
- 149
- Forks
- 62
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
The current error message:
```
BaseException: Attribute getting after the class has been used with mock_constructor() is not supported! After using mock_constructor() you must get a pointer to the new mocked class...
```
Is hard to understand. Let's:
- Make this message clearer.
- Add links to the docs. This requires having a place where the version is defined so the doc link can be constructed correctly `https://testslide.readthedocs.io/en/$VERSION/mock_constructor/index.html`.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.