Skip to content

Commit f88dec7

Browse files
committed
Fix pytest
1 parent 71a4cfc commit f88dec7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/jobs/test_job_decorator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,9 @@ async def execute(self):
14081408

14091409
coresys.resolution.unsupported.append(UnsupportedReason.CORE_VERSION)
14101410
assert not await test.execute()
1411-
assert "blocked from execution, unsupported Core version" in caplog.text
1411+
assert (
1412+
"blocked from execution, unsupported Home Assistant Core version" in caplog.text
1413+
)
14121414

14131415
coresys.jobs.ignore_conditions = [JobCondition.CORE_SUPPORTED]
14141416
assert await test.execute()

0 commit comments

Comments
 (0)