Merge pull request #45306 from gtmanfred/rackspace

Fix rackspace cloud test
This commit is contained in:
Nicole Thomas 2018-01-08 12:32:46 -05:00 committed by GitHub
commit 29788617f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'