String formatting improvements for tests (#33663)
This commit is contained in:
1 parent
1c25468b21
commit
906385172a
33 files changed
+129
-155
No files matched your search
@@ -69,7 +69,7 @@ async def test_learn(hass):
|
||||
|
||||
assert mock_create.call_count == 1
|
||||
assert mock_create.call_args == call(
|
||||
"Received packet is: {}".format(DUMMY_IR_PACKET), title="Broadlink switch"
|
||||
f"Received packet is: {DUMMY_IR_PACKET}", title="Broadlink switch"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user