diff options
author | Devaev Maxim <[email protected]> | 2020-06-04 06:27:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-06-04 06:27:52 +0300 |
commit | 9cee98310deb851c4a5c36b1e593f032f8234c32 (patch) | |
tree | 907d908432c5ce43c729866d67a323daf35aa25e /testenv/tests/plugins | |
parent | be9ce4e4ffa418ba64612efdabee116dd59a6f5d (diff) |
refactoring
Diffstat (limited to 'testenv/tests/plugins')
-rw-r--r-- | testenv/tests/plugins/auth/test_pam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testenv/tests/plugins/auth/test_pam.py b/testenv/tests/plugins/auth/test_pam.py index e3e7fc99..a2cc32fa 100644 --- a/testenv/tests/plugins/auth/test_pam.py +++ b/testenv/tests/plugins/auth/test_pam.py @@ -45,7 +45,7 @@ async def _run_process(cmd: str, input: Optional[str]=None) -> None: # pylint: proc = await asyncio.create_subprocess_exec( *cmd.split(" "), stdin=(asyncio.subprocess.PIPE if input is not None else None), - preexec_fn=aioproc.preexec_ignore_sigint, + preexec_fn=aioproc.ignore_sigint, ) await proc.communicate(input.encode() if input is not None else None) assert proc.returncode == 0 |