def METHOD_NAME(self):
    from GangaCore.GPI import Job, LocalFile, prepareGaudiExec
    import os
    if os.path.exists(TestExternalGaudiExec.tmpdir_release):
        os.system("rm -rf %s/*" % TestExternalGaudiExec.tmpdir_release)
    j = Job(application=prepareGaudiExec('DaVinci', latestDaVinci(), TestExternalGaudiExec.tmpdir_release))
    myHelloOpts = path.join(TestExternalGaudiExec.tmpdir_release, 'hello.py')
    FileBuffer('hello.py', 'print("Hello")').create(myHelloOpts)
    assert path.isfile(myHelloOpts)
    j.application.options = [LocalFile(myHelloOpts)]
    j.prepare()
    assert j.application.is_prepared.name
    assert path.isdir(j.application.is_prepared.path())