mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Fix lint
This commit is contained in:
@@ -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)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user