'Create a repository dependency on blast_datatypes_0120.'

def test_0025_create_repository_dependency(self):

    '\n                                We    are    at    step    3.\n                                Create    a    simple    repository    dependency    for    blastxml_to_top_descr_0120    that    defines    a    dependency    on    blast_datatypes_0120.\n                                '
    global running_standalone
    if running_standalone:
        datatypes_repository = self.test_db_util.get_repository_by_name_and_owner(datatypes_repository_name, common.test_user_2_name)
        tool_repository = self.test_db_util.get_repository_by_name_and_owner(tool_repository_name, common.test_user_1_name)
        dependency_xml_path = self.generate_temp_path('test_1120', additional_paths=['dependencies'])
        datatypes_tuple = (self.url, datatypes_repository.name, datatypes_repository.user.username, self.get_repository_tip(datatypes_repository))
        self.create_repository_dependency(repository=tool_repository, repository_tuples=[datatypes_tuple], filepath=dependency_xml_path)
