mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
if check should be not
This commit is contained in:
parent
239ab765d9
commit
64d7cf165e
@ -65,7 +65,7 @@ class RackspaceTest(ShellCase):
|
||||
region_name = config[profile_str][DRIVER_NAME].get('region_name')
|
||||
auth = config[profile_str][DRIVER_NAME].get('auth')
|
||||
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(
|
||||
'A region_name and (auth or cloud) must be provided to run these '
|
||||
'tests. Check tests/integration/files/conf/cloud.providers.d/{0}.conf'
|
||||
|
Loading…
Reference in New Issue
Block a user