diff --git a/nodepool/tests/fixtures/node.yaml b/nodepool/tests/fixtures/node.yaml index b35f89768..f2f0e3528 100644 --- a/nodepool/tests/fixtures/node.yaml +++ b/nodepool/tests/fixtures/node.yaml @@ -22,6 +22,7 @@ labels: providers: - name: fake-provider + region-name: fake-region keypair: 'if-present-use-this-keypair' username: 'fake' password: 'fake' diff --git a/nodepool/tests/test_shade_integration.py b/nodepool/tests/test_shade_integration.py index cd984c390..794f3fe64 100644 --- a/nodepool/tests/test_shade_integration.py +++ b/nodepool/tests/test_shade_integration.py @@ -38,6 +38,7 @@ class TestShadeIntegration(tests.IntegrationTestCase): 'password': 'fake', 'auth_url': 'fake'} self.assertEqual(provider_manager._client.auth, auth_data) + self.assertEqual(provider_manager._client.region_name, 'fake-region') def test_nodepool_osc_config(self): configfile = self.setup_config('node_osc.yaml')