--- a/server/test/datacomputed/migratedapp/schema.py Tue Sep 16 15:28:35 2014 +0200
+++ b/server/test/datacomputed/migratedapp/schema.py Thu Aug 28 18:31:18 2014 +0200
@@ -16,7 +16,8 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
-from yams.buildobjs import EntityType, RelationDefinition, ComputedRelation
+from yams.buildobjs import (EntityType, RelationDefinition, ComputedRelation,
+ Int, Float)
class Employee(EntityType):
@@ -38,11 +39,11 @@
class Company(EntityType):
- pass
+ score = Float(formula='Any AVG(NN) WHERE X employees E, N concerns E, N note NN')
class Note(EntityType):
- pass
+ note = Int()
class concerns(RelationDefinition):