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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")
)