Replace regionOne with RegionOne

For consistency with the installation guide and other OpenStack
components.

http://lists.openstack.org/pipermail/openstack-dev/2015-April/062702.html

Change-Id: I0df8565b5cb16aa555a4b19b3518e7208ca294d3
This commit is contained in:
Sean M. Collins 2015-04-27 13:45:06 -04:00
parent 8b2723e23f
commit a374daa691
2 changed files with 3 additions and 3 deletions

View File

@ -918,7 +918,7 @@ class SqlAlchemyTest(common.HeatTestCase):
def test_user_creds_password(self):
self.ctx.trust_id = None
self.ctx.region_name = 'regionOne'
self.ctx.region_name = 'RegionOne'
db_creds = db_api.user_creds_create(self.ctx)
load_creds = db_api.user_creds_get(db_creds.id)
@ -926,7 +926,7 @@ class SqlAlchemyTest(common.HeatTestCase):
self.assertEqual('password', load_creds.get('password'))
self.assertEqual('test_tenant', load_creds.get('tenant'))
self.assertEqual('test_tenant_id', load_creds.get('tenant_id'))
self.assertEqual('regionOne', load_creds.get('region_name'))
self.assertEqual('RegionOne', load_creds.get('region_name'))
self.assertIsNotNone(load_creds.get('created_at'))
self.assertIsNone(load_creds.get('updated_at'))
self.assertEqual('http://server.test:5000/v2.0',

View File

@ -43,7 +43,7 @@ class TestRequestContext(common.HeatTestCase):
'tenant': 'atenant',
'auth_url': 'http://xyz',
'aws_creds': 'blah',
'region_name': 'regionOne',
'region_name': 'RegionOne',
'user_identity': 'mick atenant'}
super(TestRequestContext, self).setUp()