Skip to content

Commit d93c1ad

Browse files
committed
fix:update tests
1 parent c975885 commit d93c1ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_mixins/test_pubsub_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ def test_subscribe_property_with_shard_channels_cluster(r: redis.Redis):
507507

508508

509509
@pytest.mark.min_server('7')
510+
@testtools.run_test_if_redispy_ver('above', '5.0.0rc2')
510511
def test_pubsub_shardnumsub(r: redis.Redis):
511512
channels = {b"foo", b"bar", b"baz"}
512513
p1 = r.pubsub()
@@ -526,6 +527,7 @@ def test_pubsub_shardnumsub(r: redis.Redis):
526527

527528

528529
@pytest.mark.min_server('7')
530+
@testtools.run_test_if_redispy_ver('above', '5.0.0rc2')
529531
def test_pubsub_shardchannels(r: redis.Redis):
530532
p = r.pubsub()
531533
p.ssubscribe("foo", "bar", "baz", "quux")

0 commit comments

Comments
 (0)