lifespan fastapi pytest