We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b5e65 commit bd6266fCopy full SHA for bd6266f
tests/test_backend.py
@@ -91,7 +91,9 @@ def test_invalidate_cache(get_cluster_info):
91
backend.get('key1', 'val')
92
except Exception:
93
pass
94
- backend._local._client = None
+ # invalidate cached client
95
+ container = getattr(backend, '_local', backend)
96
+ container._client = None
97
try:
98
99
0 commit comments