Revision 0ea11dcb test/ganeti.objects_unittest.py

b/test/ganeti.objects_unittest.py
79 79
      }
80 80
    ndparams = {
81 81
        constants.ND_OOB_PROGRAM: "/bin/cluster-oob",
82
        constants.ND_SPINDLE_COUNT: 1
82
        constants.ND_SPINDLE_COUNT: 1,
83
        constants.ND_EXCLUSIVE_STORAGE: False,
83 84
        }
84 85

  
85 86
    self.fake_cl = objects.Cluster(hvparams=hvparams, os_hvp=os_hvp,
......
164 165
    group_ndparams = {
165 166
        constants.ND_OOB_PROGRAM: "/bin/group-oob",
166 167
        constants.ND_SPINDLE_COUNT: 10,
168
        constants.ND_EXCLUSIVE_STORAGE: True,
167 169
        }
168 170
    fake_group = objects.NodeGroup(name="testgroup",
169 171
                                   ndparams=group_ndparams)
......
174 176
    node_ndparams = {
175 177
        constants.ND_OOB_PROGRAM: "/bin/node-oob",
176 178
        constants.ND_SPINDLE_COUNT: 2,
179
        constants.ND_EXCLUSIVE_STORAGE: True,
177 180
        }
178 181
    fake_node = objects.Node(name="test",
179 182
                             ndparams=node_ndparams,
......
187 190
    node_ndparams = {
188 191
        constants.ND_OOB_PROGRAM: "/bin/node-oob",
189 192
        constants.ND_SPINDLE_COUNT: 5,
193
        constants.ND_EXCLUSIVE_STORAGE: True,
190 194
        }
191 195
    fake_node = objects.Node(name="test",
192 196
                             ndparams=node_ndparams,

Also available in: Unified diff