From 301e58148e5b2140e2a9e96dbaa04b27d6bd8b6e Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 7 Feb 2020 23:31:30 +0300 Subject: [PATCH] lint fix --- testenv/tests/plugins/auth/test_pam.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testenv/tests/plugins/auth/test_pam.py b/testenv/tests/plugins/auth/test_pam.py index e4171d35..5e69f305 100644 --- a/testenv/tests/plugins/auth/test_pam.py +++ b/testenv/tests/plugins/auth/test_pam.py @@ -75,6 +75,7 @@ async def _test_user() -> AsyncGenerator[None, None]: {"allow_uids_at": _UID}, ]) async def test_ok(test_user, kwargs: Dict) -> None: # type: ignore + _ = test_user async with get_configured_auth_service("pam", **kwargs) as service: assert not (await service.authorize(_USER, "invalid_password")) assert (await service.authorize(_USER, _PASSWD)) @@ -87,6 +88,7 @@ async def test_ok(test_user, kwargs: Dict) -> None: # type: ignore {"allow_uids_at": _UID + 1}, ]) async def test_fail(test_user, kwargs: Dict) -> None: # type: ignore + _ = test_user async with get_configured_auth_service("pam", **kwargs) as service: assert not (await service.authorize(_USER, "invalid_password")) assert not (await service.authorize(_USER, _PASSWD))