mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 23:10:28 +00:00
Update ruff to v0.0.280 (#97102)
This commit is contained in:
@@ -357,9 +357,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
|
||||
" example: 'This is a test of python_script.hello'"
|
||||
)
|
||||
services_yaml1 = {
|
||||
"{}/{}/services.yaml".format(
|
||||
hass.config.config_dir, FOLDER
|
||||
): service_descriptions1
|
||||
f"{hass.config.config_dir}/{FOLDER}/services.yaml": service_descriptions1
|
||||
}
|
||||
|
||||
with patch(
|
||||
@@ -408,9 +406,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
|
||||
" example: 'This is a test of python_script.hello2'"
|
||||
)
|
||||
services_yaml2 = {
|
||||
"{}/{}/services.yaml".format(
|
||||
hass.config.config_dir, FOLDER
|
||||
): service_descriptions2
|
||||
f"{hass.config.config_dir}/{FOLDER}/services.yaml": service_descriptions2
|
||||
}
|
||||
|
||||
with patch(
|
||||
|
||||
Reference in New Issue
Block a user