'Generate and upload a complex repository definition that specifies an invalid owner.'

def test_0025_generate_complex_repository_dependency_invalid_owner_name(self):

    dependency_path = self.generate_temp_path('test_0100', additional_paths=['complex', 'invalid'])
    base_repository = self.test_db_util.get_repository_by_name_and_owner(bwa_base_repository_name, common.test_user_1_name)
    tool_repository = self.test_db_util.get_repository_by_name_and_owner(bwa_package_repository_name, common.test_user_1_name)
    url = self.url
    name = 'package_bwa_0_5_9_0100'
    owner = 'invalid_owner!?'
    changeset_revision = self.get_repository_tip(tool_repository)
    strings_displayed = ['because    the    owner    is    invalid.']
    repository_tuple = (url, name, owner, changeset_revision)
    self.create_repository_dependency(repository=base_repository, filepath=dependency_path, repository_tuples=[repository_tuple], strings_displayed=strings_displayed, complex=True, package='bwa', version='0.5.9')
