File tree Expand file tree Collapse file tree
dakara_server/playlist/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -362,8 +362,9 @@ async def test_send_playlist_entry_failed_none(
362362 assert player_new == player
363363
364364 # check there are no other messages
365- done = await communicator .receive_nothing ()
366- assert done
365+ with pytest .raises (ValueError ):
366+ done = await communicator .receive_nothing ()
367+ assert done
367368
368369 # no need to close connection
369370
@@ -595,8 +596,9 @@ async def test_send_command_unknown_failed(
595596 assert player_new == player
596597
597598 # check there are no other messages
598- done = await communicator .receive_nothing ()
599- assert done
599+ with pytest .raises (ValueError ):
600+ done = await communicator .receive_nothing ()
601+ assert done
600602
601603 # no need to close connection
602604
Original file line number Diff line number Diff line change 1+ asgiref >= 3.9.1 ,< 3.10.0 # to remove after updating channels
12APScheduler >= 3.11.0 ,< 3.12.0
23channels >= 4.2.0 ,< 4.3.0
34daphne >= 4.1.2 ,< 4.2.0
You can’t perform that action at this time.
0 commit comments