summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/common/test_progressbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/unit/common/test_progressbar.py')
-rw-r--r--openstackclient/tests/unit/common/test_progressbar.py6
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