Code styling tweaks to the tests - Part 2 (#86662)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
This commit is contained in:
parent
7ab88fa713
commit
e50a531cd9
54 changed files with 734 additions and 360 deletions
|
@ -337,8 +337,8 @@ async def test_unknown_zone(hass, calls, caplog):
|
|||
)
|
||||
|
||||
assert (
|
||||
"Automation 'My Automation' is referencing non-existing zone 'zone.no_such_zone' in a zone trigger"
|
||||
not in caplog.text
|
||||
"Automation 'My Automation' is referencing non-existing zone"
|
||||
" 'zone.no_such_zone' in a zone trigger" not in caplog.text
|
||||
)
|
||||
|
||||
hass.states.async_set(
|
||||
|
@ -350,6 +350,6 @@ async def test_unknown_zone(hass, calls, caplog):
|
|||
await hass.async_block_till_done()
|
||||
|
||||
assert (
|
||||
"Automation 'My Automation' is referencing non-existing zone 'zone.no_such_zone' in a zone trigger"
|
||||
in caplog.text
|
||||
"Automation 'My Automation' is referencing non-existing zone"
|
||||
" 'zone.no_such_zone' in a zone trigger" in caplog.text
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue