Skip to content

Commit 4ba4616

Browse files
author
Lingling Peng
committed
fix test
1 parent 0e85642 commit 4ba4616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/synapseclient/models/async/unit_test_form_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def test_create_async_without_required_fields_raises_error(self, syn):
128128
# THEN it should raise ValueError
129129
with pytest.raises(
130130
ValueError,
131-
match="'group_id', 'name', and 'data_file_handle_id' must be provided",
131+
match="'group_id', 'name', and 'data_file_handle_id' are required",
132132
):
133133
await form_data.create_async(synapse_client=syn)
134134

tests/unit/synapseclient/models/synchronous/unit_test_form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_create_without_required_fields_raises_error(self, syn):
126126
# THEN it should raise ValueError
127127
with pytest.raises(
128128
ValueError,
129-
match="'group_id', 'name', and 'data_file_handle_id' must be provided",
129+
match="'group_id', 'name', and 'data_file_handle_id' are required",
130130
):
131131
form_data.create(synapse_client=syn)
132132

0 commit comments

Comments
 (0)