#NEWLINE# @ patch ( 'orchestra.communication.mail._send_mail' ) #NEWLINE# def test_filtering_no_preference( self , mock_mail ) : #NEWLINE# #INDENT# '\n            Verify that we correctly filter users based on their email\n            preferences.\n        ' #NEWLINE# send_mail ( subject = 'test_subject' , message = 'test_message' , from_email = 'test@test.com' , recipient_list = self . recipient_list ) #NEWLINE# self . assertTrue ( mock_mail . called )