diff options
| author | mouad benchchaoui <m.benchchaoui@cloudbau.de> | 2013-07-08 21:18:16 +0200 |
|---|---|---|
| committer | mouad benchchaoui <m.benchchaoui@cloudbau.de> | 2013-08-08 15:40:15 +0200 |
| commit | 1d7da740b22945c43a9f36affca3c1b3fbad91fa (patch) | |
| tree | 5abb69ba9d8f83e26b7fc3c106c72faf8c546aef /tests/v1 | |
| parent | 43e71e399372102f8ef4a3b7ad836fe16ace63a3 (diff) | |
| download | python-glanceclient-1d7da740b22945c43a9f36affca3c1b3fbad91fa.tar.gz | |
Show a pretty progressbar when uploading and downloading an image.
Add a new module that contain generic wrapper for file and iterator, which
are used to wrap image to upload and the request body iterator in upload and
download cases repectively, to show and advance a pretty progress bar when this
laters are consumed, The progress bar is triggered by adding a --progress command
line argument to commands: image-create, image-download or image-update.
Change-Id: I2ba42fd0c58f4fa087adb568ec3f08246cae3759
bug fix: LP#1112309
blueprint: progressbar-when-uploading
Diffstat (limited to 'tests/v1')
| -rw-r--r-- | tests/v1/test_shell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/v1/test_shell.py b/tests/v1/test_shell.py index 9d937be..9de0d62 100644 --- a/tests/v1/test_shell.py +++ b/tests/v1/test_shell.py @@ -365,7 +365,8 @@ class ShellStdinHandlingTests(testtools.TestCase): property={}, purge_props=False, human_readable=False, - file=None + file=None, + progress=False ) ) |
