Improve StrictMock & mock_callable exception messages
オープン
Better Error Messages
enhancement
Hacktoberfest
- 主要言語
- Python
- スター
- 149
- フォーク
- 62
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently we raise things like `UnexpectedCallArguments` telling about "behavior". This confuses a lot of users constantly.
@karlodwyer suggested doing things like:
- UnexpectedCallArguments > UnmatchedCallReceived
- explain there's no configured mocks to answer this call
- explain which calls the mock is configured to accept.
Le's apply this "make it clearer mindset" to all existing StrictMock & mock_callable exceptions.
コントリビューションガイド
評価
この issue はまだ評価されていません。