diff options
author | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
commit | ee3e224e396494cd0d69bb6167087a071a20349c (patch) | |
tree | 5becd28570e58a03c6e1e231d0db24c264a73f88 /testenv/tests/plugins/auth/test_http.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'testenv/tests/plugins/auth/test_http.py')
-rw-r--r-- | testenv/tests/plugins/auth/test_http.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testenv/tests/plugins/auth/test_http.py b/testenv/tests/plugins/auth/test_http.py index 7a13f9b7..a02df543 100644 --- a/testenv/tests/plugins/auth/test_http.py +++ b/testenv/tests/plugins/auth/test_http.py @@ -20,7 +20,6 @@ # ========================================================================== # -from typing import Dict from typing import AsyncGenerator import aiohttp.web @@ -68,7 +67,7 @@ async def _auth_server_port_fixture(aiohttp_server) -> AsyncGenerator[int, None] {"verify": False}, {"user": "server-admin", "passwd": "server-pass"}, ]) -async def test_ok(auth_server_port: int, kwargs: Dict) -> None: +async def test_ok(auth_server_port: int, kwargs: dict) -> None: url = "http://localhost:%d/%s" % ( auth_server_port, ("auth_plus_basic" if kwargs.get("user") else "auth"), |