def METHOD_NAME(method, resource, *args, **kwargs):
    vault_data = {
        "v1/salt/roles/db": {
            "from_db": True,
            "pass": "hunter2",
            "list": ["a", "b"],
        },
        "v1/salt/roles/web": {
            "from_web": True,
            "pass": "hunter1",
            "list": ["c", "d"],
        },
    }
    res = Mock(status_code=200, ok=True)
    res.json.return_value = {"data": copy.deepcopy(vault_data[resource])}
    return res