def test_boolean_validator_invalid_str_2(self):
     validated = validate_boolean('abc')
     self.assertFalse(validated)
 def test_boolean_validator_invalid_int_2(self):
     validated = validate_boolean(1)
     self.assertFalse(validated)
 def test_boolean_validator_valid_str_false_2(self):
     validated = validate_boolean('FaLsE')
     self.assertEqual(validated, 'FALSE')
 def test_boolean_validator_valid_str_true_2(self):
     validated = validate_boolean('TrUe')
     self.assertEqual(validated, 'TRUE')
 def test_boolean_validator_valid_bool_false(self):
     validated = validate_boolean(False)
     self.assertEqual(validated, 'FALSE')
 def test_boolean_validator_valid_bool_true(self):
     validated = validate_boolean(True)
     self.assertEqual(validated, 'TRUE')