'Mark a form_definition as deleted'

def mark_form_deleted(self, form_id):

    url = ('%s/forms/delete_form_definition?id=%s' % (self.url, form_id))
    self.visit_url(url)
    check_str = '1    forms    have    been    deleted.'
    self.check_page_for_string(check_str)
