Fix for tests not handling multiple input prompts

This commit is contained in:
dbxnr 2020-01-10 19:18:25 +00:00
parent 9d9f61ac1e
commit 79142bf651
4 changed files with 25 additions and 7 deletions

View file

@ -126,7 +126,7 @@ def run_with_input(context, command, inputs=""):
if context.text:
text = iter(context.text.split("\n"))
else:
text = iter([inputs])
text = iter(inputs.split(" "))
args = ushlex(command)[1:]