diff options
author | Bar Shaul <88437685+barshaul@users.noreply.github.com> | 2021-11-25 14:15:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 14:15:24 +0200 |
commit | 9db1eec71b443b8e7e74ff503bae651dc6edf411 (patch) | |
tree | ce23ac6f923df54676349603f4e5551dfc801057 /tests/test_lock.py | |
parent | 021d4ac0edaecedb9b83235700cc4699cb119ef1 (diff) | |
download | redis-py-9db1eec71b443b8e7e74ff503bae651dc6edf411.tar.gz |
Adding RedisCluster client to support Redis Cluster Mode (#1660)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: Anas <anas.el.amraoui@live.com>
Diffstat (limited to 'tests/test_lock.py')
-rw-r--r-- | tests/test_lock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_lock.py b/tests/test_lock.py index fa76385..66148ed 100644 --- a/tests/test_lock.py +++ b/tests/test_lock.py @@ -7,6 +7,7 @@ from redis.lock import Lock from .conftest import _get_client +@pytest.mark.onlynoncluster class TestLock: @pytest.fixture() def r_decoded(self, request): @@ -220,6 +221,7 @@ class TestLock: lock.reacquire() +@pytest.mark.onlynoncluster class TestLockClassSelection: def test_lock_class_argument(self, r): class MyLock: |