#484: Use PIPE as stdin when Popening the script

Fix #484
This commit is contained in:
Pablo Santiago Blum de Aguiar
2016-03-21 16:58:31 -03:00
parent 0cf4f5e8b0
commit a27115bff1
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -110,6 +110,7 @@ class TestCommand(object):
'apt-get search vim', 'stdout', 'stderr')
Popen.assert_called_once_with('apt-get search vim',
shell=True,
stdin=PIPE,
stdout=PIPE,
stderr=PIPE,
env={})