Skip to content

Commit

Permalink
Update test_ext_rediscluster.py
Browse files Browse the repository at this point in the history
Fix parameter name
  • Loading branch information
amol- authored Apr 4, 2024
1 parent b8387f5 commit 91aa4d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_managers/test_ext_rediscluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
class TestRedis(base.CacheManagerBaseTests):
CACHE_ARGS = {
'type': 'ext:rediscluster',
'url': 'redis://localhost:6379'
'urls': 'redis://localhost:6379'
}

def test_client_reuse(self):
cache1 = Cache('test1', **self.CACHE_ARGS)
cli1 = cache1.namespace.client
cache2 = Cache('test2', **self.CACHE_ARGS)
cli2 = cache2.namespace.client
self.assertTrue(cli1 is cli2)
self.assertTrue(cli1 is cli2)

0 comments on commit 91aa4d8

Please sign in to comment.