Skip to content

Commit 24ec339

Browse files
committed
Formatting
1 parent 91a59ae commit 24ec339

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/utils/test_artifact.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class TestGetArtifactText(unittest.TestCase):
9393
def test_get_artifact_text_single_part(self):
9494
# Setup
9595
artifact = Artifact(
96-
name="test-artifact",
96+
name='test-artifact',
9797
parts=[Part(root=TextPart(text='Hello world'))],
9898
artifact_id='test-artifact-id',
9999
)
@@ -107,7 +107,7 @@ def test_get_artifact_text_single_part(self):
107107
def test_get_artifact_text_multiple_parts(self):
108108
# Setup
109109
artifact = Artifact(
110-
name="test-artifact",
110+
name='test-artifact',
111111
parts=[
112112
Part(root=TextPart(text='First line')),
113113
Part(root=TextPart(text='Second line')),
@@ -125,7 +125,7 @@ def test_get_artifact_text_multiple_parts(self):
125125
def test_get_artifact_text_custom_delimiter(self):
126126
# Setup
127127
artifact = Artifact(
128-
name="test-artifact",
128+
name='test-artifact',
129129
parts=[
130130
Part(root=TextPart(text='First part')),
131131
Part(root=TextPart(text='Second part')),
@@ -143,7 +143,7 @@ def test_get_artifact_text_custom_delimiter(self):
143143
def test_get_artifact_text_empty_parts(self):
144144
# Setup
145145
artifact = Artifact(
146-
name="test-artifact",
146+
name='test-artifact',
147147
parts=[],
148148
artifact_id='test-artifact-id',
149149
)
@@ -154,5 +154,6 @@ def test_get_artifact_text_empty_parts(self):
154154
# Verify
155155
assert result == ''
156156

157+
157158
if __name__ == '__main__':
158159
unittest.main()

tests/utils/test_parts.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from a2a.types import (
32
DataPart,
43
FilePart,
@@ -8,9 +7,9 @@
87
TextPart,
98
)
109
from a2a.utils.parts import (
11-
get_text_parts,
1210
get_data_parts,
1311
get_file_parts,
12+
get_text_parts,
1413
)
1514

1615

0 commit comments

Comments
 (0)