From 7d80f9e9626d14ce2ab60e4b69e3ccd070f31e0d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 8 May 2023 11:35:45 +0100 Subject: 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 --- openstackclient/tests/unit/common/test_progressbar.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'openstackclient/tests/unit/common/test_progressbar.py') 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 -- cgit v1.2.1