def test_min(self):
    f = TestForm2()
    result = f.validate({'float_field': 5.4})
    self.assertEqual(result, False)

    result = f.validate({'int_field': 4})
    self.assertEqual(result, False)

    result = f.validate({'number_field': 5.4})
    self.assertEqual(result, False)
Minimal value validation test.
dataset/ETHPy150Open IanLewis/kay/kay/tests/formtest.py/NumberFieldTest.test_min