diff options
| author | Kyrylo Romanenko <kromanenko@mirantis.com> | 2016-10-18 19:09:06 +0300 |
|---|---|---|
| committer | Kyrylo Romanenko <kromanenko@mirantis.com> | 2016-10-18 19:12:23 +0300 |
| commit | acc39673abfc6cd953628dbea94eb65ad2c9b361 (patch) | |
| tree | 46da956d0177e8cea195aa8302e7ab44561d8034 /openstackclient/tests/functional/base.py | |
| parent | 5e3ec1b42faf7dc49722b58829b6c2cf5c15da79 (diff) | |
| download | python-openstackclient-acc39673abfc6cd953628dbea94eb65ad2c9b361.tar.gz | |
Rename variable to avoid shadowing of built-in name
Change-Id: I06e2617db1d5508723bc343072a15586af89b390
Diffstat (limited to 'openstackclient/tests/functional/base.py')
| -rw-r--r-- | openstackclient/tests/functional/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py index 298b2454..885abc02 100644 --- a/openstackclient/tests/functional/base.py +++ b/openstackclient/tests/functional/base.py @@ -63,8 +63,8 @@ class TestCase(testtools.TestCase): return cls.openstack('extension list ' + opts) @classmethod - def get_opts(cls, fields, format='value'): - return ' -f {0} {1}'.format(format, + def get_opts(cls, fields, output_format='value'): + return ' -f {0} {1}'.format(output_format, ' '.join(['-c ' + it for it in fields])) @classmethod |
