#NEWLINE# def test_ping_webhook_signal_fired( self ) : #NEWLINE# #INDENT# zebra_webhook_subscription_ping_sent . connect ( test_post_data . _signal_reciever ) #NEWLINE# self . assertEqual ( self . signal_kwargs , None ) #NEWLINE# test_post_data = { #NEWLINE# #INDENT# 'json' : simplejson . dumps ( { #NEWLINE# #INDENT# 'event' : 'ping' , #NEWLINE# #UNINDENT# } ) , #NEWLINE# #UNINDENT# } #NEWLINE# c = Client ( ) #NEWLINE# response = c . post ( reverse ( 'zebra:webhooks' ) , test_post_data ) #NEWLINE# self . assertEqual ( response . status_code , 200 )