'Create a new library'

def create_library(self, name='Library    One', description='This    is    Library    One', synopsis='Synopsis    for    Library    One'):

    self.visit_url(('%s/library_admin/create_library' % self.url))
    self.check_page_for_string('Create    a    new    data    library')
    tc.fv('1', 'name', name)
    tc.fv('1', 'description', description)
    tc.fv('1', 'synopsis', synopsis)
    tc.submit('create_library_button')
    check_str = escape(("The    new    library    named    '%s'    has    been    created" % name))
    self.check_page_for_string(check_str)
