[tests] Person must have fti fields in order to be indexed

authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
changeset873048fa96c9
branchdefault
phasedraft
hiddenyes
parent revision#98252caba3b8 remove all code for "parent" / "child" handling
child revision#c203fb23ba54 [ccplugin] remove debug print
files modified by this revision
test/data/schema.py
# HG changeset patch
# User Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
# Date 1492098578 -7200
# Thu Apr 13 17:49:38 2017 +0200
# Node ID 873048fa96c99f4ddcaec1239133011e2880f75d
# Parent 98252caba3b8869aafbf67512c5f95176f71c672
[tests] Person must have fti fields in order to be indexed

diff --git a/test/data/schema.py b/test/data/schema.py
@@ -1,8 +1,8 @@
1  from yams.buildobjs import (EntityType, String, Int,
2                              SubjectRelation, RelationDefinition)
3 
4 
5  class Person(EntityType):
6 -    name = String()
7 +    name = String(fulltextindexed=True)
8      age = Int()
9