The monkeypatch fixture provides these helper methods for safely patching and mocking functionality in tests: monkeypatch.setattr(obj, name, value, ...
確定! 回上一頁