def METHOD_NAME(self, mocked_which, mocked_init):
    lm_ssh = SSH('', {}, None, None, None)
    with self.assertRaises(RuntimeError):
        # error while getting `ssh` command
        lm_ssh._init_from_scratch({}, '')