def create_invalid_run(instance, **kwargs):
    create_run_for_test(instance, external_pipeline_origin=ExternalPipelineOrigin(ExternalRepositoryOrigin(InProcessRepositoryLocationOrigin(ReconstructableRepository(ModuleCodePointer('fake', 'fake'))), 'foo'), 'wrong-pipeline'), pipeline_name='wrong-pipeline', **kwargs)
def create_invalid_run(instance, **kwargs):
    create_run_for_test(instance, external_pipeline_origin=ExternalPipelineOrigin(ExternalRepositoryOrigin(InProcessRepositoryLocationOrigin(ReconstructableRepository(ModuleCodePointer('fake', 'fake'))), 'foo'), 'wrong-pipeline'), pipeline_name='wrong-pipeline', **kwargs)