mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
remove stdinfo
This commit is contained in:
parent
6c61b9cceb
commit
63ae3b677f
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ def call_async_output(args, callback, **kwargs):
|
|||
Exit status of the command
|
||||
|
||||
"""
|
||||
for a in ["stdout", "stderr", "stdinfo"]:
|
||||
for a in ["stdout", "stderr"]:
|
||||
if a in kwargs:
|
||||
raise ValueError("%s argument not allowed, " "it will be overridden." % a)
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ def test_call_async_output_kwargs(test_file, mocker):
|
|||
call_async_output(["cat", str(test_file)], callbacks, stdout=None)
|
||||
with pytest.raises(ValueError):
|
||||
call_async_output(["cat", str(test_file)], callbacks, stderr=None)
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(TypeError):
|
||||
call_async_output(["cat", str(test_file)], callbacks, stdinfo=None)
|
||||
|
||||
dirname = os.path.dirname(str(test_file))
|
||||
|
|
Loading…
Reference in a new issue