def mock_res(self, name, args=[], kwargs={}):
    '\n        Calls `mock_res`\n\n        Mock by args:\n        ```\n        >>> smock = SMock("tests/data.yaml")\n        >>> res = smock.mock_res("requests.get", ["https://mocked.url"])\n        >>> res.status_code\n        200\n\n        ```\n\n        Using "*" as args, as fallback. As there is no kwargs, use default:\n        ```\n        >>> res = smock.mock_res("requests.get", ["https://error.mocked.url"])\n        >>> res.status_code\n        404\n\n        ```\n\n        Using "*" as kwargs:\n        ```\n        >>> res = smock.mock_res("requests.get",\n        ...         ["https://mocked.url"],\n        ...         {\'data\': \'data\'})\n        >>> res.status_code\n        200\n        >>> res.content\n        \'Mocked query\'\n\n        ```\n        '
    return mock_res(name, self._data, args, kwargs)
Calls `mock_res`

Mock by args:
```
>>> smock = SMock("tests/data.yaml")
>>> res = smock.mock_res("requests.get", ["https://mocked.url"])
>>> res.status_code
200

```

Using "*" as args, as fallback. As there is no kwargs, use default:
```
>>> res = smock.mock_res("requests.get", ["https://error.mocked.url"])
>>> res.status_code
404

```

Using "*" as kwargs:
```
>>> res = smock.mock_res("requests.get",
...         ["https://mocked.url"],
...         {'data': 'data'})
>>> res.status_code
200
>>> res.content
'Mocked query'

```
def mock_res(self, name, args=[], kwargs={}):
    '\n        Calls `mock_res`\n\n        Mock by args:\n        ```\n        >>> smock = SMock("tests/data.yaml")\n        >>> res = smock.mock_res("requests.get", ["https://mocked.url"])\n        >>> res.status_code\n        200\n\n        ```\n\n        Using "*" as args, as fallback. As there is no kwargs, use default:\n        ```\n        >>> res = smock.mock_res("requests.get", ["https://error.mocked.url"])\n        >>> res.status_code\n        404\n\n        ```\n\n        Using "*" as kwargs:\n        ```\n        >>> res = smock.mock_res("requests.get",\n        ...         ["https://mocked.url"],\n        ...         {\'data\': \'data\'})\n        >>> res.status_code\n        200\n        >>> res.content\n        \'Mocked query\'\n\n        ```\n        '
    return mock_res(name, self._data, args, kwargs)