def mocked_requests_get(*args, **_):
    """Mock function for requests.get()."""
    # pylint: disable=R0903
    class MockResponse:
        """Mock response of a requests.get() call."""

        def __init__(self, json_data, status_code):
            self.json_data = json_data
            self.status_code = status_code

        def json(self):
            """Return the JSON data."""
            return self.json_data

    if args[0] == 'http://mock.vagrancy.net/inventory':
        return MockResponse({"boxes": []}, 200)

    return MockResponse(None, 404)