Changed assertTrue(isinstance()) to assertIsInstance.

Change-Id: I0cb3e994ce813ceedaad91d441c20e7e67946c39
Closes-Bug: #1268480
This commit is contained in:
sharat.sharma 2016-05-12 16:18:15 +05:30
parent 2cc70f2659
commit d744f813a0
1 changed files with 1 additions and 1 deletions

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)