'Upload a new tool_dependencies.xml to package_emboss_5_0_0_0470.'

def test_0025_upload_updated_tool_dependency_to_package_emboss(self):

    '\n                                This    is    step    5    -    Add    a    comment    to    the    tool_dependencies.xml    file    for    the    package_emboss_5_0_0    repository,    eliminating\n                                the    change    set_revision    attribute    so    that    it    gets    automatically    populated    when    uploaded.    After    uploading    the    file,\n                                the    package_emboss_5_0_0    repository    should    have    2    installable    changeset    revisions.\n                                '
    package_emboss_repository = self.test_db_util.get_repository_by_name_and_owner(package_emboss_repository_name, common.test_user_1_name)
    self.upload_file(package_emboss_repository, filename='emboss/emboss_5_0_0/second_tool_dependency/tool_dependencies.xml', filepath=None, valid_tools_only=True, uncompress_file=False, remove_repo_files_not_in_tar=False, commit_message='Populate    package_emboss_5_0_0_0470    with    tool    dependency    definitions.', strings_displayed=[], strings_not_displayed=[])
    assert (len(package_emboss_repository.metadata_revisions) == 2), ('package_emboss_5_0_0_0470    has    incorrect    number    of    metadata    revisions,    expected    2    but    found    %d' % len(package_emboss_repository.metadata_revisions))
