mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #45306 from gtmanfred/rackspace
Fix rackspace cloud test
This commit is contained in:
commit
29788617f1
@ -65,7 +65,7 @@ class RackspaceTest(ShellCase):
|
|||||||
region_name = config[profile_str][DRIVER_NAME].get('region_name')
|
region_name = config[profile_str][DRIVER_NAME].get('region_name')
|
||||||
auth = config[profile_str][DRIVER_NAME].get('auth')
|
auth = config[profile_str][DRIVER_NAME].get('auth')
|
||||||
cloud = config[profile_str][DRIVER_NAME].get('cloud')
|
cloud = config[profile_str][DRIVER_NAME].get('cloud')
|
||||||
if region_name and (auth or cloud):
|
if not region_name or not (auth or cloud):
|
||||||
self.skipTest(
|
self.skipTest(
|
||||||
'A region_name and (auth or cloud) must be provided to run these '
|
'A region_name and (auth or cloud) must be provided to run these '
|
||||||
'tests. Check tests/integration/files/conf/cloud.providers.d/{0}.conf'
|
'tests. Check tests/integration/files/conf/cloud.providers.d/{0}.conf'
|
||||||
|
Loading…
Reference in New Issue
Block a user