def test_parse_flux_mem_2(self): """ Test that a number works """ value = '16' self.failUnless(parse_flux_mem(value) == '16')
def test_parse_flux_mem_1(self): """ Test that a number plus G works, like 16G returns 16. """ value = '16G' self.failUnless(parse_flux_mem(value) == '16')