#NEWLINE# def test_after_successful_relayed_connect_queue_is_sent_and_subsequent_sends_do_a_relayed_send( t = Time , logic = DEFAULT_LOGIC , bear = NID ( 'bear:987' ) , mouse = NID ( 'mouse:123' ) ) : #NEWLINE# #INDENT# ( ( t , logic , msg ) , msg2 ) = ( test_relay_is_tried_on_bad_send ( t , logic , bear = bear , mouse = mouse ) , object ( ) ) #NEWLINE# emits_ ( logic . relay_connected_received ( mouse ) , [ ( RelaySend , OUT , bear , mouse , msg ) ] ) #NEWLINE# emits_ ( logic . send_message ( mouse , msg2 , t . current ) , [ ( RelaySend , OUT , bear , mouse , msg2 ) ] )