'Install freebayes with repository dependencies. This should also automatically reactivate emboss_datatypes and reinstall emboss_5.'

def test_0075_install_freebayes_repository(self):

    original_datatypes = self.get_datatypes_count()
    strings_displayed = ['Handle', 'tool    dependencies', 'freebayes', '0.9.4_9696d0ce8a9', 'samtools', '0.1.18']
    self.install_repository(freebayes_repository_name, common.test_user_1_name, category_name, strings_displayed=strings_displayed, install_tool_dependencies=False, install_repository_dependencies=True, new_tool_panel_section_label='freebayes')
    assert (original_datatypes < self.get_datatypes_count()), 'Installing    a    repository    that    depends    on    emboss_datatypes    did    not    add    datatypes.'
    emboss_repository = self.test_db_util.get_installed_repository_by_name_owner(emboss_repository_name, common.test_user_1_name)
    datatypes_repository = self.test_db_util.get_installed_repository_by_name_owner(emboss_datatypes_repository_name, common.test_user_1_name)
    strings_displayed = ['emboss_0050', 'emboss_datatypes_0050', emboss_repository.installed_changeset_revision, datatypes_repository.installed_changeset_revision]
    self.display_galaxy_browse_repositories_page(strings_displayed=strings_displayed)
    installed_repositories = [(column_repository_name, common.test_user_1_name), (emboss_datatypes_repository_name, common.test_user_1_name), (emboss_repository_name, common.test_user_1_name), (freebayes_repository_name, common.test_user_1_name), (convert_repository_name, common.test_user_1_name), (bismark_repository_name, common.test_user_1_name)]
    strings_displayed = ['emboss_0050', 'emboss_datatypes_0050', 'column_maker_0050', 'convert_chars_0050', 'bismark_0050', 'freebayes_0050']
    strings_not_displayed = ['filtering_0050']
    self.display_galaxy_browse_repositories_page(strings_displayed=strings_displayed, strings_not_displayed=strings_not_displayed)
    self.verify_installed_repositories(installed_repositories)
