

@pytest.fixture(autouse=True)
def mock_maybe_load_response(monkeypatch):
    mock_mlr = mock.Mock()
    mock_mlr.return_value = None
    mock_save = (lambda x: x)
    monkeypatch.setattr(requests, '_maybe_load_response', mock_mlr)
    x.setattr(requests.HarvesterResponse, 'save', mock_save)

dataset/ETHPy150Open CenterForOpenScience/scrapi/tests/test_harvesters.py mock_maybe_load_response/VarMisuse@54/77 `monkeypatch`->`x`