def METHOD_NAME():
    """
    This is a helper method to construct a new GaudiExec job object for submission testing
    This just helps reduce repeat code between tests
    """
    import os
    if os.path.exists(TestExternalGaudiExec.tmpdir_release):
        os.system("rm -fr %s/" % TestExternalGaudiExec.tmpdir_release)
    from GangaCore.GPI import Job, LocalFile, prepareGaudiExec
    j = Job(application=prepareGaudiExec('DaVinci', latestDaVinci(), TestExternalGaudiExec.tmpdir_release))
    myOpts = path.join(TestExternalGaudiExec.tmpdir_release, 'testfile.py')
    FileBuffer('testfile.py', 'print("ThisIsATest")').create(myOpts)
    j.application.options = [LocalFile(myOpts)]
    return j