Skip to content

Commit

Permalink
fix:update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Aug 14, 2023
1 parent c975885 commit d93c1ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_mixins/test_pubsub_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ def test_subscribe_property_with_shard_channels_cluster(r: redis.Redis):


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


@pytest.mark.min_server('7')
@testtools.run_test_if_redispy_ver('above', '5.0.0rc2')
def test_pubsub_shardchannels(r: redis.Redis):
p = r.pubsub()
p.ssubscribe("foo", "bar", "baz", "quux")
Expand Down

0 comments on commit d93c1ad

Please sign in to comment.