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

@ -106,7 +106,7 @@ def test_parse_url_path():
assert indieauth._parse_url("http://ex.com").path == "/"
async def test_verify_redirect_uri():
async def test_verify_redirect_uri() -> None:
"""Test that we verify redirect uri correctly."""
assert await indieauth.verify_redirect_uri(
None, "http://ex.com", "http://ex.com/callback"