mirror of
https://github.com/home-assistant/core.git
synced 2025-11-06 17:40:11 +00:00
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments * Black * Cancel fixture amends
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user