'Exception raised when enabled is not an acceptable format.'

def test_validate_user_create_fails_with_invalid_enabled_formats(self):

    for invalid_enabled in _INVALID_ENABLED_FORMATS:
        request_to_validate = {'name': self.user_name, 'enabled': invalid_enabled}
        self.assertRaises(exception.SchemaValidationError, self.create_user_validator.validate, request_to_validate)
