mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Use set literals in tests (#33669)
This commit is contained in:
@@ -15,7 +15,7 @@ def test_extract_domain_configs():
|
||||
"zone 100": None,
|
||||
}
|
||||
|
||||
assert set(["zone", "zone Hallo", "zone 100"]) == set(
|
||||
assert {"zone", "zone Hallo", "zone 100"} == set(
|
||||
helpers.extract_domain_configs(config, "zone")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user