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:
parent
8b2723e23f
commit
a374daa691
@ -918,7 +918,7 @@ class SqlAlchemyTest(common.HeatTestCase):
|
|||||||
|
|
||||||
def test_user_creds_password(self):
|
def test_user_creds_password(self):
|
||||||
self.ctx.trust_id = None
|
self.ctx.trust_id = None
|
||||||
self.ctx.region_name = 'regionOne'
|
self.ctx.region_name = 'RegionOne'
|
||||||
db_creds = db_api.user_creds_create(self.ctx)
|
db_creds = db_api.user_creds_create(self.ctx)
|
||||||
load_creds = db_api.user_creds_get(db_creds.id)
|
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('password', load_creds.get('password'))
|
||||||
self.assertEqual('test_tenant', load_creds.get('tenant'))
|
self.assertEqual('test_tenant', load_creds.get('tenant'))
|
||||||
self.assertEqual('test_tenant_id', load_creds.get('tenant_id'))
|
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.assertIsNotNone(load_creds.get('created_at'))
|
||||||
self.assertIsNone(load_creds.get('updated_at'))
|
self.assertIsNone(load_creds.get('updated_at'))
|
||||||
self.assertEqual('http://server.test:5000/v2.0',
|
self.assertEqual('http://server.test:5000/v2.0',
|
||||||
|
@ -43,7 +43,7 @@ class TestRequestContext(common.HeatTestCase):
|
|||||||
'tenant': 'atenant',
|
'tenant': 'atenant',
|
||||||
'auth_url': 'http://xyz',
|
'auth_url': 'http://xyz',
|
||||||
'aws_creds': 'blah',
|
'aws_creds': 'blah',
|
||||||
'region_name': 'regionOne',
|
'region_name': 'RegionOne',
|
||||||
'user_identity': 'mick atenant'}
|
'user_identity': 'mick atenant'}
|
||||||
|
|
||||||
super(TestRequestContext, self).setUp()
|
super(TestRequestContext, self).setUp()
|
||||||
|
Loading…
Reference in New Issue
Block a user