diff options
author | Devaev Maxim <[email protected]> | 2020-02-07 23:31:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-02-07 23:31:30 +0300 |
commit | 301e58148e5b2140e2a9e96dbaa04b27d6bd8b6e (patch) | |
tree | 86a51c6fe0073183b9ccca5b16094a602750e3d5 | |
parent | 5b2eb6892fc8a1e21b69a68f650161f67c83798e (diff) |
lint fix
-rw-r--r-- | testenv/tests/plugins/auth/test_pam.py | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |