def testBoolVal(self): true_val = results._to_pytype('True') false_val = results._to_pytype('False') self.assertEqual(true_val, True) self.assertEqual(false_val, False)
def testStringVal(self): val = results._to_pytype('Awesome') self.assertEqual(val, 'Awesome')
def testFloatVal(self): val = results._to_pytype('123.45') self.assertEqual(val, 123.45)