Revision 9d0d4f21

b/test/py/ganeti.backend_unittest.py
804 804
      self.assertTrue(backend._STORAGE_TYPE_INFO_FN[storage_type] is not None)
805 805

  
806 806
  def testAllNotReportingTypesDoneHaveFunction(self):
807
    non_reporting_types = set(constants.VALID_STORAGE_TYPES)\
807
    non_reporting_types = set(constants.STORAGE_TYPES)\
808 808
        - set(constants.STS_REPORT)
809 809
    for storage_type in non_reporting_types:
810 810
      self.assertEqual(None, backend._STORAGE_TYPE_INFO_FN[storage_type])

Also available in: Unified diff