def test_get_poll_many_cmd(job_ids: list, cmd: list): assert JOB_RUNNER_HANDLER.get_poll_many_cmd(job_ids) == cmd
def test_filter_poll_many_output(job_ids: list, out: str): assert sorted(JOB_RUNNER_HANDLER.filter_poll_many_output(out)) == job_ids
def test_format_directives(job_conf: dict, lines: list): assert JOB_RUNNER_HANDLER.format_directives(job_conf) == lines