def test_floatFromPost_5(self): request = buildBlankRequestObject() value = floatFromPost(request, 'float') self.assertEqual(value, 0)
def test_floatFromPost_3(self): request = buildInvalidRequestObject_2() value = floatFromPost(request, 'float') self.assertEqual(type(value), type(float(1)))