Fix another missing renaming
authorHelga Velroyen <helgav@google.com>
Tue, 23 Jul 2013 15:08:00 +0000 (17:08 +0200)
committerHelga Velroyen <helgav@google.com>
Tue, 23 Jul 2013 15:22:45 +0000 (17:22 +0200)
This fixes a (due to a merge) slipped occurence of
VALID_STORAGE_TYPES which was renamed to STORAGE_TYPES.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>

test/py/ganeti.backend_unittest.py

index 1aaeed7..5697dea 100755 (executable)
@@ -804,7 +804,7 @@ class TestSpaceReportingConstants(unittest.TestCase):
       self.assertTrue(backend._STORAGE_TYPE_INFO_FN[storage_type] is not None)
 
   def testAllNotReportingTypesDoneHaveFunction(self):
-    non_reporting_types = set(constants.VALID_STORAGE_TYPES)\
+    non_reporting_types = set(constants.STORAGE_TYPES)\
         - set(constants.STS_REPORT)
     for storage_type in non_reporting_types:
       self.assertEqual(None, backend._STORAGE_TYPE_INFO_FN[storage_type])