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

@ -42,7 +42,7 @@ async def test_async_create_certificate_temp_files(
)
async def test_reading_non_exitisting_certificate_file():
async def test_reading_non_exitisting_certificate_file() -> None:
"""Test reading a non existing certificate file."""
assert (
mqtt.util.migrate_certificate_file_to_content("/home/file_not_exists") is None