mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -70,11 +70,11 @@ async def test_import_config(
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("override", "expected_reason"),
|
||||
(
|
||||
[
|
||||
({CONF_AGENCY: "not muni"}, "invalid_agency"),
|
||||
({CONF_ROUTE: "not F"}, "invalid_route"),
|
||||
({CONF_STOP: "not 5650"}, "invalid_stop"),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_import_config_invalid(
|
||||
hass: HomeAssistant,
|
||||
|
||||
Reference in New Issue
Block a user