mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add return type to async tests without arguments (#87612)
This commit is contained in:
@@ -153,12 +153,12 @@ class _Data:
|
||||
Data = _Data()
|
||||
|
||||
|
||||
async def test_v1_data():
|
||||
async def test_v1_data() -> None:
|
||||
"""Test for version 1 api based on message."""
|
||||
assert dialogflow.get_api_version(Data.v1) == 1
|
||||
|
||||
|
||||
async def test_v2_data():
|
||||
async def test_v2_data() -> None:
|
||||
"""Test for version 2 api based on message."""
|
||||
assert dialogflow.get_api_version(Data.v2) == 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user