def test_validate_error(self, value): test_record = BooleanField() self.assertEqual(len(test_record.validate(value)), 1)
def test_validate_error(self, value): test_record = BooleanField() self.assertEqual(len(test_record.validate(value)), 1)
def test_validate_success(self, value): test_record = BooleanField() self.assertEqual(len(test_record.validate(value)), 0)
def test_validate_success(self, value): test_record = BooleanField() self.assertEqual(len(test_record.validate(value)), 0)