Fix pep8 errors
This commit is contained in:
parent
6580c08140
commit
10de93dc61
@ -13,7 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import platform
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from cliff.command import Command
|
from cliff.command import Command
|
||||||
@ -399,7 +398,8 @@ class OvercloudIntrospectionDataSave(KayobeAnsibleMixin, VaultMixin, Command):
|
|||||||
if parsed_args.output_format:
|
if parsed_args.output_format:
|
||||||
extra_vars['output_format'] = parsed_args.output_format
|
extra_vars['output_format'] = parsed_args.output_format
|
||||||
playbooks = _build_playbook_list("overcloud-introspection-data-save")
|
playbooks = _build_playbook_list("overcloud-introspection-data-save")
|
||||||
self.run_kayobe_playbooks(parsed_args, playbooks, extra_vars=extra_vars)
|
self.run_kayobe_playbooks(parsed_args, playbooks,
|
||||||
|
extra_vars=extra_vars)
|
||||||
|
|
||||||
|
|
||||||
class OvercloudBIOSRAIDConfigure(KayobeAnsibleMixin, VaultMixin, Command):
|
class OvercloudBIOSRAIDConfigure(KayobeAnsibleMixin, VaultMixin, Command):
|
||||||
|
@ -71,9 +71,7 @@ class TestCase(unittest.TestCase):
|
|||||||
"-lt",
|
"-lt",
|
||||||
]
|
]
|
||||||
parsed_args = parser.parse_args(args)
|
parsed_args = parser.parse_args(args)
|
||||||
ansible.run_playbooks(
|
ansible.run_playbooks(parsed_args, ["playbook1.yml", "playbook2.yml"],
|
||||||
parsed_args,
|
|
||||||
["playbook1.yml", "playbook2.yml"],
|
|
||||||
verbose_level=2)
|
verbose_level=2)
|
||||||
expected_cmd = [
|
expected_cmd = [
|
||||||
"ansible-playbook",
|
"ansible-playbook",
|
||||||
|
Loading…
Reference in New Issue
Block a user