Merge "Changed assertTrue(isinstance()) to assertIsInstance."
This commit is contained in:
commit
454d4acf01
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user