Merge "Changed assertTrue(isinstance()) to assertIsInstance."

This commit is contained in:
Jenkins 2016-05-31 06:48:53 +00:00 committed by Gerrit Code Review
commit 454d4acf01

View File

@ -179,7 +179,7 @@ class RedisDriverTest(testing.TestBase):
driver.ControlDriver
(self.conf, cache))
self.assertTrue(isinstance(redis_driver.connection, redis.StrictRedis))
self.assertIsInstance(redis_driver.connection, redis.StrictRedis)
def test_version_match(self):
oslo_cache.register_config(self.conf)