def METHOD_NAME(self, mocked_sh_callout,
                                mocked_which, mocked_init):
    lm_srun = Srun('', {}, None, None, None)
    with self.assertRaises(RuntimeError):
        # error while getting version of the launch command
        lm_srun._init_from_scratch({}, '')