#NEWLINE# @ patch ( 'django.dispatch.Signal.send' ) #NEWLINE# def test_send_signal( self , SignalSendMock ) : #NEWLINE# #INDENT# event = Event ( kind = 'account.updated' ) #NEWLINE# WH = registry . get ( 'account.updated' ) #NEWLINE# WH ( event ) . send_signal ( ) #NEWLINE# self . assertTrue ( self . called )