cli: --wait for download-task

If task is not finished yet, wait for it and download output then.

Fixes: https://pagure.io/koji/issue/2052
This commit is contained in:
Tomas Kopecek 2020-06-26 15:31:29 +02:00
parent 074d61ff05
commit 1cbc9340db
2 changed files with 10 additions and 0 deletions

View file

@ -339,6 +339,7 @@ Options:
--logs Also download build logs
--topurl=URL URL under which Koji files are accessible
--noprogress Do not display progress meter
--wait Wait for running tasks to finish
-q, --quiet Suppress output
""" % progname
self.assertMultiLineEqual(actual, expected)