mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Fix lint
This commit is contained in:
parent
bfb00aecbe
commit
e35f1afd57
@ -83,17 +83,6 @@ def _openstack_data(cred):
|
||||
openstack_auth['domain_name'] = cred.get_input('domain', default='')
|
||||
verify_state = cred.get_input('verify_ssl', default=True)
|
||||
|
||||
# if cred.has_input('project_region_name'):
|
||||
# openstack_data = {
|
||||
# 'clouds': {
|
||||
# 'devstack': {
|
||||
# 'auth': openstack_auth,
|
||||
# 'verify': verify_state,
|
||||
# 'region_name': cred.get_input('project_region_name', default='')
|
||||
# },
|
||||
# },
|
||||
# }
|
||||
# else:
|
||||
openstack_data = {
|
||||
'clouds': {
|
||||
'devstack': {
|
||||
|
||||
@ -292,6 +292,7 @@ def test_openstack_client_config_generation_with_project_region_name(mocker, sou
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.parametrize("source,expected", [
|
||||
(False, False), (True, True)
|
||||
])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user