More fine-tuning for Github Actions

This commit is contained in:
Miroslav Stampar
2021-09-29 16:41:58 +02:00
parent a9f998273c
commit 94706bd7fc
3 changed files with 3 additions and 3 deletions

View File

@@ -1063,7 +1063,7 @@ def cmdLineParser(argv=None):
if args.dummy:
args.url = args.url or DUMMY_URL
if hasattr(sys.stdin, "fileno") and not os.isatty(sys.stdin.fileno()) and '-' not in sys.argv:
if hasattr(sys.stdin, "fileno") and not os.isatty(sys.stdin.fileno()) and '-' not in sys.argv and "--testing" not in sys.argv:
args.stdinPipe = iter(sys.stdin.readline, None)
else:
args.stdinPipe = None