Revision 65e183af test/ganeti.cmdlib_unittest.py

b/test/ganeti.cmdlib_unittest.py
35 35
from ganeti import errors
36 36
from ganeti import utils
37 37
from ganeti import luxi
38
from ganeti import ht
38 39

  
39 40
import testutils
40 41
import mocks
......
106 107

  
107 108
    class TestOpcode(opcodes.OpCode):
108 109
      OP_ID = "OP_TEST"
109
      __slots__ = ["iallocator", "node"]
110
      OP_PARAMS = [
111
        ("iallocator", None, ht.NoType),
112
        ("node", None, ht.NoType),
113
        ]
110 114

  
111 115
    default_iallocator = mocks.FakeConfig().GetDefaultIAllocator()
112 116
    other_iallocator = default_iallocator + "_not"

Also available in: Unified diff