diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2023-05-08 11:37:42 +0100 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2023-05-10 10:51:30 +0100 |
| commit | d3f4a3d7f5a14c78b56bcc0609c32f74f0c0f845 (patch) | |
| tree | 8759b78c1819a699609ec18fb1423a5d6bcca1af /openstackclient/tests/functional/base.py | |
| parent | a6f81a736c503e45e1fca9fe49f9f46b9ced7cb8 (diff) | |
| download | python-openstackclient-d3f4a3d7f5a14c78b56bcc0609c32f74f0c0f845.tar.gz | |
Blacken everything else
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: I356643d06b2cd408ccaedfe02b858aea55388949
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/functional/base.py')
| -rw-r--r-- | openstackclient/tests/functional/base.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py index 0c430267..9b4235be 100644 --- a/openstackclient/tests/functional/base.py +++ b/openstackclient/tests/functional/base.py @@ -40,14 +40,16 @@ def execute(cmd, fail_ok=False, merge_stderr=False): if not fail_ok and proc.returncode != 0: raise exceptions.CommandFailed( - proc.returncode, cmd, result_out, result_err, + proc.returncode, + cmd, + result_out, + result_err, ) return result_out class TestCase(testtools.TestCase): - @classmethod def openstack( cls, @@ -128,8 +130,9 @@ class TestCase(testtools.TestCase): @classmethod def get_opts(cls, fields, output_format='value'): - return ' -f {0} {1}'.format(output_format, - ' '.join(['-c ' + it for it in fields])) + return ' -f {0} {1}'.format( + output_format, ' '.join(['-c ' + it for it in fields]) + ) @classmethod def assertOutput(cls, expected, actual): |
