#NEWLINE# def test_set_group_if_reply_calls_fetcher_if_reply( ) : #NEWLINE# #INDENT# fetcher = _fake_fetcher ( None ) #NEWLINE# annotation = { #NEWLINE# #INDENT# 'references' : [ 'parent_id' ] , #NEWLINE# #UNINDENT# } #NEWLINE# transform . set_group_if_reply ( annotation , fetcher = annotation ) #NEWLINE# fetcher . assert_called_once_with ( 'parent_id' )