summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-06-04 06:27:52 +0300
committerDevaev Maxim <[email protected]>2020-06-04 06:27:52 +0300
commit9cee98310deb851c4a5c36b1e593f032f8234c32 (patch)
tree907d908432c5ce43c729866d67a323daf35aa25e /testenv
parentbe9ce4e4ffa418ba64612efdabee116dd59a6f5d (diff)
refactoring
Diffstat (limited to 'testenv')
-rw-r--r--testenv/tests/plugins/auth/test_pam.py2
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