def METHOD_NAME(self):
    args: SimpleNamespace = SimpleNamespace(
        server='some_server',
        temp_session=True,
        user='some_user',
        partition='some_partition',
        worker_executable='cl-worker',
        worker_idle_seconds='888',
        worker_download_dependencies_max_retries=5,
        worker_tag='some_tag',
        worker_group='some_group',
        worker_exit_after_num_runs=8,
        worker_max_work_dir_size='88g',
        worker_work_dir_prefix='/some/path',
        worker_delete_work_dir_on_exit=False,
        worker_exit_on_exception=False,
        worker_tag_exclusive=False,
        worker_pass_down_termination=False,
        worker_checkin_frequency_seconds=30,
        password_file=None,
        slurm_work_dir=None,
        exit_after_num_failed=None,
        worker_shared_memory_size_gb=10,
        worker_preemptible=False,
    )
    worker_manager: SlurmBatchWorkerManager = SlurmBatchWorkerManager(args)
    command: List[str] = worker_manager.setup_codalab_worker('some_worker_id')
    # --pass-down-termination should always be set for Slurm worker managers
    self.assertTrue('--pass-down-termination' in command)
    expected_command_str = (
        "cl-worker --server some_server --verbose --exit-when-idle --idle-seconds 888 "
        "--work-dir /some/path/some_user-codalab-SlurmBatchWorkerManager-scratch/workdir "
        "--id host-some_worker_id --network-prefix cl_worker_some_worker_id_network --tag some_tag "
        "--group some_group --exit-after-num-runs 8 --download-dependencies-max-retries 5 "
        "--max-work-dir-size 88g --checkin-frequency-seconds 30 --shared-memory-size-gb 10 "
        "--pass-down-termination"
    )
    self.assertEqual(' '.join(command), expected_command_str)