def METHOD_NAME(self):
    self.install.api_grant.update(expires_at=timezone.now() - timedelta(minutes=2))
    response = self.get_error_response(status_code=403)
    assert response.data["error"] == "Grant has already expired."