#NEWLINE# def test_webhook_target( self ) : #NEWLINE# #INDENT# webhook = WebhookTarget . objects . create ( owner = self . user , event = WEBHOOK_EVENTS [ 0 ] , target_url = 'http://httpbin.com' ) #NEWLINE# self . assertEqual ( WebhookTarget . objects . count ( ) , 1 ) #NEWLINE# self . assertEqual ( str ( self ) , 'testuser=>http://httpbin.com' )