Revision b3724640 test/py/ganeti.hypervisor.hv_fake_unittest.py

b/test/py/ganeti.hypervisor.hv_fake_unittest.py
39 39
    group = objects.NodeGroup(name="default", ndparams={})
40 40
    cons = hv_fake.FakeHypervisor.GetInstanceConsole(instance, node, group,
41 41
                                                     {}, {})
42
    self.assertTrue(cons.Validate())
42
    self.assertEqual(cons.Validate(), None)
43 43
    self.assertEqual(cons.kind, constants.CONS_MESSAGE)
44 44

  
45 45

  

Also available in: Unified diff