Пример #1
0
 def testValidate_006(self):
     """
   Test validate on a non-empty capacity section with only min bytes filled in.
   """
     config = LocalConfig()
     config.capacity = CapacityConfig(
         minBytes=ByteQuantity("1.00", UNIT_MBYTES))
     config.validate()
Пример #2
0
 def testValidate_005(self):
     """
   Test validate on a non-empty capacity section with only max percentage filled in.
   """
     config = LocalConfig()
     config.capacity = CapacityConfig(
         maxPercentage=PercentageQuantity("63.2"))
     config.validate()