You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:13:14 UTC

[buildstream] 03/04: fixup! fixup! test

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch gokcen/refactor_runcli
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 2d2095b077039fe503a2d0c4291609628274bac0
Author: Gökçen Nurlu <gn...@bloomberg.net>
AuthorDate: Mon Nov 5 18:20:06 2018 +0000

    fixup! fixup! test
---
 tests/testutils/runcli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/testutils/runcli.py b/tests/testutils/runcli.py
index 5d55d98..7415177 100644
--- a/tests/testutils/runcli.py
+++ b/tests/testutils/runcli.py
@@ -299,7 +299,7 @@ class Cli(CliRunner):
         return result
 
     def invoke(self, cli, args=None, color=False, binary_capture=False, **extra):
-        r = super().invoke(cli, args, color=color)
+        r = super().invoke(cli, args, input=os.devnull, color=color)
 
         return Result(exit_code=r.exit_code,
                       exception=r.exception,