'Uninstall the package_bwa_0_5_9_0100 repository.'

def test_0060_verify_tool_dependency_uninstallation(self):

    '\n                                Uninstall    the    repository    that    defines    a    tool    dependency    relationship    on    BWA    0.5.9,    and    verify\n                                that    this    results    in    the    compiled    binary    package    also    being    removed.\n                                '
    tool_repository = self.test_db_util.get_installed_repository_by_name_owner(bwa_package_repository_name, common.test_user_1_name)
    self.deactivate_repository(tool_repository)
    env_sh_path = os.path.join(self.galaxy_tool_dependency_dir, 'bwa', '0.5.9', tool_repository.owner, tool_repository.name, tool_repository.installed_changeset_revision, 'env.sh')
    assert os.path.exists(env_sh_path), ('Path    %s    does    not    exist    after    deactivating    the    repository    that    generated    it.' % env_sh_path)
