#NEWLINE# def add_url( self , name , url , expected_string = None , comment = None ) : #NEWLINE# #INDENT# hc = self . storage . find_healthcheck_by_name ( name ) #NEWLINE# item_id = self . _add_item ( name , url , expected_string ) #NEWLINE# trigger_id = self . _add_trigger ( name , url , comment ) #NEWLINE# action_id = self . _add_action ( url , trigger_id , hc . group_id ) #NEWLINE# item = Item ( url , item_id = item_id , trigger_id = trigger_id , action_id = action_id , group_id = hc . group_id ) #NEWLINE# self . storage . add_item ( item )