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:
LingxianKong 2015-05-22 14:59:22 +08:00
parent 3dd21f3320
commit d19940008e
1 changed files with 1 additions and 1 deletions

View File

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