'Generate a repository dependency for emboss 5 with an invalid URL.'

def test_0025_generate_repository_dependency_with_invalid_url(self):

    dependency_path = self.generate_temp_path('test_0110', additional_paths=['simple'])
    datatypes_repository = self.test_db_util.get_repository_by_name_and_owner(datatypes_repository_name, common.test_user_1_name)
    emboss_repository = self.test_db_util.get_repository_by_name_and_owner(emboss_repository_name, common.test_user_1_name)
    url = 'http://http://this    is    not    an    url!'
    name = datatypes_repository.name
    owner = datatypes_repository.user.username
    changeset_revision = self.get_repository_tip(datatypes_repository)
    strings_displayed = ['Repository    dependencies    are    currently    supported    only    within    the    same    tool    shed']
    repository_tuple = (url, name, owner, changeset_revision)
    self.create_repository_dependency(repository=emboss_repository, filepath=dependency_path, repository_tuples=[repository_tuple], strings_displayed=strings_displayed, complex=False)
