def testModelSetOption(self): """ FIXME """ assert self.modelSet() try: utils.testStringIsPositiveFloat(self.modelSet()) except AssertionError, exception: raise
def testValidationSetOption(self): """ FIXME """ assert self.validationSet() try: if self.validationSetIsFilename(): utils.testFileIsReadable(self.validationSet()) elif self.validationSetIsPercentage(): utils.testStringIsPositiveFloat(self.validationSet()) utils.testNumberWithinRange(float(self.validationSet()), 0.0, 100.0) except AssertionError, exception: raise