Merge "Test that we are setting region-name properly"

This commit is contained in:
Jenkins 2015-06-01 17:31:56 +00:00 committed by Gerrit Code Review
commit d0c1e6d62d
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ labels:
providers: providers:
- name: fake-provider - name: fake-provider
region-name: fake-region
keypair: 'if-present-use-this-keypair' keypair: 'if-present-use-this-keypair'
username: 'fake' username: 'fake'
password: 'fake' password: 'fake'

View File

@ -47,6 +47,7 @@ class TestShadeIntegration(tests.IntegrationTestCase):
'password': 'fake', 'password': 'fake',
'auth_url': 'fake'} 'auth_url': 'fake'}
self.assertEqual(provider_manager._client.auth, auth_data) self.assertEqual(provider_manager._client.auth, auth_data)
self.assertEqual(provider_manager._client.region_name, 'fake-region')
def test_nodepool_osc_config(self): def test_nodepool_osc_config(self):
configfile = self.setup_config('node_osc.yaml') configfile = self.setup_config('node_osc.yaml')