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
99 changed files with 473 additions and 459 deletions

View File

@@ -332,7 +332,7 @@ def test_supported_features_string(caplog):
assert "Entity test.entity_id contains invalid supported_features value invalid"
def test_request_data():
def test_request_data() -> None:
"""Test request data properties."""
config = MockConfig()
data = helpers.RequestData(
@@ -428,7 +428,7 @@ async def test_config_local_sdk_warn_version(hass, hass_client, caplog, version)
) in caplog.text
def test_is_supported_cached():
def test_is_supported_cached() -> None:
"""Test is_supported is cached."""
config = MockConfig()