'Deactivate emboss_datatypes and verify that the datatypes count is reduced.'

def test_0065_deactivate_datatypes_repository(self):

    original_datatypes = self.get_datatypes_count()
    repository = self.test_db_util.get_installed_repository_by_name_owner(emboss_datatypes_repository_name, common.test_user_1_name)
    self.deactivate_repository(repository)
    assert (original_datatypes > self.get_datatypes_count()), 'Deactivating    emboss_datatypes    did    not    remove    datatypes.'
    installed_repositories = [(column_repository_name, common.test_user_1_name), (emboss_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', 'column_maker_0050', 'convert_chars_0050', 'bismark_0050']
    strings_not_displayed = ['emboss_datatypes_0050', 'filtering_0050', 'freebayes_0050']
    self.display_galaxy_browse_repositories_page(strings_displayed=strings_displayed, strings_not_displayed=strings_not_displayed)
    self.verify_installed_repositories(installed_repositories)
