#NEWLINE# @ override_settings ( HOOK_DELIVERER = 'fabric_bolt.web_hooks.tests.test_utils.custom_deliverer' ) #NEWLINE# def test_deliver_hook( self ) : #NEWLINE# #INDENT# def dict( ) : #NEWLINE# #INDENT# return 'DICT_TEST' #NEWLINE# #UNINDENT# h = hook_models . Hook ( ) #NEWLINE# h . dict = dict #NEWLINE# h . url = 'http://www.example.com' #NEWLINE# receivers . deliver_hook ( h , 'http://www.example.com' )