Add return type to tests without arguments (#87613)

* Add return type to tests without arguments

* Black

* Cancel fixture amends
This commit is contained in:
epenet 2023-02-07 14:20:06 +01:00 committed by GitHub
parent fb4c0b4b7a
commit 4142f0d15d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 473 additions and 459 deletions

View file

@ -5,7 +5,7 @@ from collections import OrderedDict
from homeassistant import helpers
def test_extract_domain_configs():
def test_extract_domain_configs() -> None:
"""Test the extraction of domain configuration."""
config = {
"zone": None,
@ -20,7 +20,7 @@ def test_extract_domain_configs():
)
def test_config_per_platform():
def test_config_per_platform() -> None:
"""Test config per platform method."""
config = OrderedDict(
[