Revision 1ce03fb1 test/ganeti.opcodes_unittest.py

b/test/ganeti.opcodes_unittest.py
49 49
      self.assertEqual(cls.OP_ID, opcodes._NameToId(cls.__name__))
50 50
      self.assertFalse(compat.any(cls.OP_ID.startswith(prefix)
51 51
                                  for prefix in opcodes._SUMMARY_PREFIX.keys()))
52
      self.assertTrue(cls.OP_RESULT is None or callable(cls.OP_RESULT))
52 53

  
53 54
      self.assertRaises(TypeError, cls, unsupported_parameter="some value")
54 55

  

Also available in: Unified diff