1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

String formatting improvements for tests (2) (#33666)

This commit is contained in:
Franck Nijhof
2020-04-05 00:33:07 +02:00
committed by GitHub
parent 906385172a
commit d7e9959442
19 changed files with 65 additions and 76 deletions

View File

@@ -297,9 +297,7 @@ async def test_setup_component_and_test_with_service_options_def(hass, empty_cac
assert os.path.isfile(
os.path.join(
empty_cache_dir,
"42f18378fd4393d18c8dd11d03fa9563c1e54491_de_{0}_demo.mp3".format(
opt_hash
),
f"42f18378fd4393d18c8dd11d03fa9563c1e54491_de_{opt_hash}_demo.mp3",
)
)