Add return type to async tests without arguments (#87612)

This commit is contained in:
epenet 2023-02-07 10:26:56 +01:00 committed by GitHub
parent ea32a2ae63
commit aa00114c2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 117 additions and 117 deletions

View file

@ -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