summaryrefslogtreecommitdiff
path: root/tests/unit/test_shell.py
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-06-25 15:25:53 -0700
committerTim Burke <tim.burke@gmail.com>2019-06-27 21:43:46 -0700
commit3b21157a844be5b71fba2216486c3ef412e7ae1a (patch)
treeba2467ba8103eae174daec5ed2be8e6c50adf619 /tests/unit/test_shell.py
parent113eacf3b80f61d366b3e95b558b40f82ff728a4 (diff)
downloadpython-swiftclient-3b21157a844be5b71fba2216486c3ef412e7ae1a.tar.gz
Clean up warnings from newer flake8
Change-Id: I18a6327b3acdd4db5ae80097080c043f7c20c353
Diffstat (limited to 'tests/unit/test_shell.py')
-rw-r--r--tests/unit/test_shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_shell.py b/tests/unit/test_shell.py
index f5d2f15..7c8faa2 100644
--- a/tests/unit/test_shell.py
+++ b/tests/unit/test_shell.py
@@ -1822,7 +1822,7 @@ class TestShell(unittest.TestCase):
argv = ["", "tempurl", "GET", "60", '/v1/a/c',
"secret_key", "--absolute", '--prefix-based']
with CaptureOutput(suppress_systemexit=True) as output:
- swiftclient.shell.main(argv)
+ swiftclient.shell.main(argv)
self.assertEqual(expected, output.err,
'Expected %r but got %r for path %r' %
(expected, output.err, '/v1/a/c'))
@@ -1832,7 +1832,7 @@ class TestShell(unittest.TestCase):
argv = ["", "tempurl", "GET", bad_time, '/v1/a/c/o',
"secret_key", "--absolute"]
with CaptureOutput(suppress_systemexit=True) as output:
- swiftclient.shell.main(argv)
+ swiftclient.shell.main(argv)
self.assertEqual(expected, output.err,
'Expected %r but got %r for time %r' %
(expected, output.err, bad_time))