From fa8218a1154349ce66f0779dfd6a987a9d0788df Mon Sep 17 00:00:00 2001 From: zixingdeng Date: Thu, 2 Apr 2026 19:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0context=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/testsolar_testtool_sdk/model/testresult.py | 1 + uv.lock | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 469af8c..2588817 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "testsolar-testtool-sdk" -version = "0.4.6" +version = "0.4.7" description = "Python3 SDK for TestSolar testtool" authors = [ { name = "asiazhang", email = "asiazhang2002@gmail.com" }, diff --git a/src/testsolar_testtool_sdk/model/testresult.py b/src/testsolar_testtool_sdk/model/testresult.py index e195067..fb53105 100644 --- a/src/testsolar_testtool_sdk/model/testresult.py +++ b/src/testsolar_testtool_sdk/model/testresult.py @@ -89,6 +89,7 @@ class TestResult: Message: str EndTime: Optional[datetime] = None Steps: List[TestCaseStep] = field(default_factory=list) + Context: Dict[str, str] = field(default_factory=dict) def is_final(self) -> bool: return self.ResultType in [ diff --git a/uv.lock b/uv.lock index b370821..66379ff 100644 --- a/uv.lock +++ b/uv.lock @@ -282,7 +282,7 @@ wheels = [ [[package]] name = "testsolar-testtool-sdk" -version = "0.4.6" +version = "0.4.7" source = { editable = "." } dependencies = [ { name = "dacite" },