Fix typo in skip_checks function of BaseTestCase class
The operator 'is' should be 'in'. Change-Id: I3daaf06ca9cb0cf9bb05d04797118806c94f70e7 Closes-Bug: #1457762
This commit is contained in:
parent
3dd21f3320
commit
d19940008e
|
@ -324,7 +324,7 @@ class BaseTestCase(testtools.testcase.WithAttributes,
|
|||
if 'admin' in cls.credentials and not credentials.is_admin_available():
|
||||
msg = "Missing Identity Admin API credentials in configuration."
|
||||
raise cls.skipException(msg)
|
||||
if 'alt' is cls.credentials and not credentials.is_alt_available():
|
||||
if 'alt' in cls.credentials and not credentials.is_alt_available():
|
||||
msg = "Missing a 2nd set of API credentials in configuration."
|
||||
raise cls.skipException(msg)
|
||||
if hasattr(cls, 'identity_version'):
|
||||
|
|
Loading…
Reference in New Issue