def METHOD_NAME(self, mock_render):
    request = self.factory.get("/Test")
    urls.handle_error(404, request)
    mock_render.assert_called_with(
        request,
        "v1/layouts/404.html",
        context={"request": request},
        status=404,
    )