Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions python/tests/async_tests/test_pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,20 +1205,20 @@ async def test_pubsub_combined_exact_pattern_and_sharded_one_client(

# Create dictionaries of channels and their corresponding messages
exact_channels_and_messages = {
"{{{}}}:{}".format("channel", get_random_string(5)): get_random_string(
"{{{}}}:{}:{}".format("channel", get_random_string(5), i): get_random_string(
10
)
for _ in range(NUM_CHANNELS)
for i in range(NUM_CHANNELS)
}
pattern_channels_and_messages = {
"{{{}}}:{}".format("pattern", get_random_string(5)): get_random_string(
"{{{}}}:{}:{}".format("pattern", get_random_string(5), i): get_random_string(
5
)
for _ in range(NUM_CHANNELS)
for i in range(NUM_CHANNELS)
}
sharded_channels_and_messages = {
f"{SHARD_PREFIX}: {get_random_string(10)}": get_random_string(7)
for _ in range(NUM_CHANNELS)
f"{SHARD_PREFIX}:{i}:{get_random_string(10)}": get_random_string(7)
for i in range(NUM_CHANNELS)
}

publish_response = 1
Expand Down