This commit is contained in:
VGU 2020-12-13 19:05:29 +01:00
parent bfb00aecbe
commit e35f1afd57
2 changed files with 1 additions and 11 deletions

View File

@ -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': {

View File

@ -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)
])