Skip to content

Commit acd1f7e

Browse files
[Internal]: Replace Instance.termination_reason values with codes #3182
Linter
1 parent da9317a commit acd1f7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tests/_internal/server/background/tasks/test_process_instances.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,10 @@ async def test_fails_if_no_offers(self, session: AsyncSession):
821821
[
822822
pytest.param(
823823
InstanceGroupPlacement.CLUSTER,
824-
{InstanceTerminationReason.NO_OFFERS.value: 1, InstanceTerminationReason.MASTER_FAILED.value: 3},
824+
{
825+
InstanceTerminationReason.NO_OFFERS.value: 1,
826+
InstanceTerminationReason.MASTER_FAILED.value: 3,
827+
},
825828
id="cluster",
826829
),
827830
pytest.param(

0 commit comments

Comments
 (0)