From 3b6c01524fae4d1915e6bf685df21f2215a757d3 Mon Sep 17 00:00:00 2001 From: Wu Clan Date: Wed, 6 Sep 2023 21:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=B7=E6=B1=82=E6=95=B0?= =?UTF-8?q?=E6=8D=AEassert=E4=BC=A0=E8=BE=93=E7=B1=BB=E5=9E=8B=20(#34)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httpfpt/schemas/case_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpfpt/schemas/case_data.py b/httpfpt/schemas/case_data.py index 8263417..9f66424 100644 --- a/httpfpt/schemas/case_data.py +++ b/httpfpt/schemas/case_data.py @@ -76,7 +76,7 @@ class StepsTearDownData(BaseModel): sql: Optional[List[Union[str, SetupSqlData]]] = None hooks: Optional[List[str]] = None extract: Optional[List[TeardownExtractData]] = None - assert_: Optional[Union[str, List[str], List[TeardownAssertData]]] = Field(None, alias='assert') + assert_: Optional[Union[str, List[str | TeardownAssertData]]] = Field(None, alias='assert') wait_time: Optional[int] = None