diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2023-05-08 11:35:45 +0100 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2023-05-10 10:51:30 +0100 |
| commit | 7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d (patch) | |
| tree | 6498649965c44537669d58b2167b56612cd1490b /openstackclient/tests/unit/common/test_progressbar.py | |
| parent | 7ca43885c26d9dd7903e7015c0a31f3486730eea (diff) | |
| download | python-openstackclient-7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d.tar.gz | |
Blacken openstack.common
Black used with the '-l 79 -S' flags.
A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.
Change-Id: Ifcb3c798666d74d596b8ecb3d6d507f782de7ba5
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/unit/common/test_progressbar.py')
| -rw-r--r-- | openstackclient/tests/unit/common/test_progressbar.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openstackclient/tests/unit/common/test_progressbar.py b/openstackclient/tests/unit/common/test_progressbar.py index a624fc43..47a866b3 100644 --- a/openstackclient/tests/unit/common/test_progressbar.py +++ b/openstackclient/tests/unit/common/test_progressbar.py @@ -19,7 +19,6 @@ from openstackclient.tests.unit import utils class TestProgressBarWrapper(utils.TestCase): - def test_iter_file_display_progress_bar(self): size = 98304 file_obj = io.StringIO('X' * size) @@ -31,10 +30,7 @@ class TestProgressBarWrapper(utils.TestCase): chunk = file_obj.read(chunksize) while chunk: chunk = file_obj.read(chunksize) - self.assertEqual( - '[%s>] 100%%\n' % ('=' * 29), - output.getvalue() - ) + self.assertEqual('[%s>] 100%%\n' % ('=' * 29), output.getvalue()) finally: sys.stdout = saved_stdout |
