Fix domain_name -> domainName

Fixed use of incorrect variable
in region dictionary for update
to testing domain

Change-Id: Ic522a2640cdf0bf8e88783aef1c6b4572aeb4d77
This commit is contained in:
jh629g 2020-04-01 11:51:48 -05:00
parent b167877470
commit 38de76fe6b

View File

@ -46,8 +46,8 @@ class BaseOrmTest(test.BaseTestCase):
regions = [x for x in regions_list['regions']]
for region in regions:
if region['domain_name'] != CONF.auth.admin_domain_name:
region['domain_name'] = CONF.auth.admin_domain_name
if region['domainName'] != CONF.auth.admin_domain_name:
region['domainName'] = CONF.auth.admin_domain_name
cls.region_client.update_region(region['id'],
**region)
cls.addClassResourceCleanup(cls.region_client.update_region,