我想在啟動測試時在fixture中啟動伺服器,因此當測試完成時,fixture將終止應用程式。 FastAPI Testing演示如何測試api應用程式, from fastapi import FastAPI from ...
確定! 回上一頁