def _FormatStatus(value):
  try:
    return _USER_JOB_STATUS[value]
  except KeyError:
    raise errors.ProgrammerError("Unknown job status code '%s'" % value)
Test reading channel connectivity templates
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/_FormatStatus--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/channels/tests/test_channels.py/test_read_ch_connectivity