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

def test_0040_generate_repository_dependency_with_invalid_changeset_revision(self):

    global running_standalone
    if running_standalone:
        dependency_path = self.generate_temp_path('test_1110', additional_paths=['simple', 'invalid'])
        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 = self.url
        name = repository.name
        owner = repository.user.username
        changeset_revision = '!?invalid?!'
        strings_displayed = ['because    the    changeset    revision    is    invalid.']
        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)
