'Testing adding a new library dataset to library4\'s folder, making sure the TextArea setting is correct on the upload form.'

def test_120_add_ldda_to_folder4(self):

    filename = '4.bed'
    ldda_message = '4.bed    message'
    self.upload_library_dataset(cntrller='library_admin', library_id=self.security.encode_id(library4.id), folder_id=self.security.encode_id(folder4.id), filename=filename, file_type='bed', dbkey='hg18', ldda_message=ldda_message, strings_displayed=['TextArea', 'This    text    should    be    inherited'])
    ldda = get_latest_ldda_by_name(filename)
    assert (ldda is not None), 'Problem    retrieving    LibraryDatasetDatasetAssociation    ldda    from    the    database'
    self.browse_library(cntrller='library_admin', library_id=self.security.encode_id(library4.id), strings_displayed=[ldda.name, ldda.message, 'bed'])
    self.ldda_edit_info('library_admin', self.security.encode_id(library4.id), self.security.encode_id(folder4.id), self.security.encode_id(ldda.id), ldda.name, strings_displayed=['TextArea', 'This    text    should    be    inherited'])
