async def METHOD_NAME(
    self, deployment_id, monkeypatch, prefect_client
):
    flow_run = await prefect_client.create_flow_run_from_deployment(deployment_id)
    assert deployment.id is None
    monkeypatch.setenv(name="PREFECT__FLOW_RUN_ID", value=str(flow_run.id))
    assert deployment.id == str(deployment_id)