1
0
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:
Franck Nijhof
2020-04-05 02:20:09 +02:00
committed by GitHub
parent d267d674b9
commit 03dd92d51b
9 changed files with 24 additions and 28 deletions

View File

@@ -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")
)