Monkeypatching and mocking can be somewhat confusing in python. There is a lack of clear documentation on the topic. The tests provided should give a complete view of what can and cannot be done.
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする