Revision 880ab678 test/py/ganeti.constants_unittest.py

b/test/py/ganeti.constants_unittest.py
80 80
    self.failUnless(constants.OP_PRIO_HIGH > constants.OP_PRIO_HIGHEST)
81 81

  
82 82
  def testDiskDefaults(self):
83
    self.failUnless(set(constants.DISK_LD_DEFAULTS.keys()) ==
84
                    constants.DISK_TEMPLATES)
83
    self.failUnless(
84
        set(constants.DISK_LD_DEFAULTS.keys()) ==
85
        set(constants.DISK_TEMPLATES) - set([constants.DT_DISKLESS]))
85 86
    self.failUnless(set(constants.DISK_DT_DEFAULTS.keys()) ==
86 87
                    constants.DISK_TEMPLATES)
87 88

  

Also available in: Unified diff