Skip to content

Commit e1f2bdd

Browse files
committed
fix test_task.py
1 parent a7800a0 commit e1f2bdd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/utils/test_task.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def test_completed_task_invalid_artifact_type(self):
189189
)
190190

191191
def test_new_task_with_invalid_context_id(self):
192-
"""Test that new_task raises a ValueError with an invalid context_id."""
193192
with pytest.raises(
194193
ValueError,
195194
match="Invalid context_id: 'not-a-uuid' is not a valid UUID.",
@@ -204,7 +203,6 @@ def test_new_task_with_invalid_context_id(self):
204203
)
205204

206205
def test_new_task_with_empty_string_context_id(self):
207-
"""Test that new_task raises a ValueError with an empty string context_id."""
208206
with pytest.raises(
209207
ValueError, match="Invalid context_id: '' is not a valid UUID."
210208
):
@@ -218,7 +216,6 @@ def test_new_task_with_empty_string_context_id(self):
218216
)
219217

220218
def test_new_task_with_valid_context_id(self):
221-
"""Test that new_task accepts a valid context_id."""
222219
valid_uuid = '123e4567-e89b-12d3-a456-426614174000'
223220
task = new_task(
224221
Message(

0 commit comments

Comments
 (0)