Exemplo n.º 1
0
def test_job_script_name() -> None:
    job_desc = JobDescription()
    job_desc.name = 'test_name'

    script = _job_desc_to_job_script(job_desc)

    assert '#SBATCH --job-name=test_name' in script
Exemplo n.º 2
0
def test_job_script_name() -> None:
    job_desc = JobDescription()
    job_desc.name = 'test_name'

    script = _job_desc_to_job_script(job_desc)

    assert '#PBS -N test_name' in script