def testNicModifications(self): fn = ht.TSetParamsMods(ht.TINicParams) self._GenericTests(fn) for param in constants.INIC_PARAMS: self.assertTrue(fn([[constants.DDM_ADD, {param: None}]])) self.assertTrue(fn([[constants.DDM_ADD, {param: param}]]))
def testDiskModifications(self): fn = ht.TSetParamsMods(ht.TIDiskParams) self._GenericTests(fn) for param in constants.IDISK_PARAMS: self.assertTrue(fn([[constants.DDM_ADD, {param: 0}]])) self.assertTrue(fn([[constants.DDM_ADD, {param: param}]]))