Merge "Test that we are setting region-name properly"
This commit is contained in:
commit
d0c1e6d62d
1
nodepool/tests/fixtures/node.yaml
vendored
1
nodepool/tests/fixtures/node.yaml
vendored
@ -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'
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user