def testCommandInvalid(self):
    hv = hv_xen.XenHypervisor(_cmd="invalidcommand")
    self.assertRaises(errors.ProgrammerError, hv._GetCommand, None)
.. todo::
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.hypervisor.hv_xen_unittest.py/TestGetCommand.testCommandInvalid--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/preprocessing.py/ColumnSubsetBlock.get_output_space