File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -409,10 +409,14 @@ def test_repeated_group_send_with_async_to_sync(channel_layer):
409
409
channel_layer = RedisChannelLayer (hosts = TEST_HOSTS , capacity = 3 )
410
410
411
411
try :
412
- async_to_sync (channel_layer .group_send )('channel_name_1' , {"type" : "test.message.1" })
413
- async_to_sync (channel_layer .group_send )('channel_name_2' , {"type" : "test.message.2" })
412
+ async_to_sync (channel_layer .group_send )(
413
+ "channel_name_1" , {"type" : "test.message.1" }
414
+ )
415
+ async_to_sync (channel_layer .group_send )(
416
+ "channel_name_2" , {"type" : "test.message.2" }
417
+ )
414
418
except RuntimeError as exc :
415
- pytest .fail (F "repeated async_to_sync wrapped group_send calls raised { exc } " )
419
+ pytest .fail (f "repeated async_to_sync wrapped group_send calls raised { exc } " )
416
420
417
421
418
422
@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments