test: adapt blocked lead transition tests to custom_field_values
This commit is contained in:
@@ -100,6 +100,8 @@ async def test_lead_update_rejects_assignment_change_when_task_blocked() -> None
|
|||||||
comment=None,
|
comment=None,
|
||||||
depends_on_task_ids=None,
|
depends_on_task_ids=None,
|
||||||
tag_ids=None,
|
tag_ids=None,
|
||||||
|
custom_field_values={},
|
||||||
|
custom_field_values_set=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
with pytest.raises(HTTPException) as exc:
|
with pytest.raises(HTTPException) as exc:
|
||||||
@@ -179,6 +181,8 @@ async def test_lead_update_rejects_status_change_when_task_blocked() -> None:
|
|||||||
comment=None,
|
comment=None,
|
||||||
depends_on_task_ids=None,
|
depends_on_task_ids=None,
|
||||||
tag_ids=None,
|
tag_ids=None,
|
||||||
|
custom_field_values={},
|
||||||
|
custom_field_values_set=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
with pytest.raises(HTTPException) as exc:
|
with pytest.raises(HTTPException) as exc:
|
||||||
|
|||||||
Reference in New Issue
Block a user