'Creates a new, empty history'

def new_history(self, name=None):

    if name:
        self.visit_url(('%s/history_new?name=%s' % (self.url, name)))
    else:
        self.visit_url(('%s/history_new' % self.url))
    self.check_page_for_string('New    history    created')
    assert self.is_history_empty(), 'Creating    new    history    did    not    result    in    an    empty    history.'
