'Exception is raised when `enabled` isn\'t a boolean-like value.'

def test_validate_tenant_create_with_invalid_enabled_fails(self):

    for invalid_enabled in _INVALID_ENABLED_FORMATS:
        request = {'name': uuid.uuid4().hex, 'enabled': invalid_enabled}
        self.assertRaises(exception.SchemaValidationError, self.create_validator.validate, request)
