test/unittest_entity.py
branchstable
changeset 4681 5f72584ab1d7
parent 4672 0288f8e5460c
child 4691 ae468fae9965
--- a/test/unittest_entity.py	Wed Feb 24 10:56:47 2010 +0100
+++ b/test/unittest_entity.py	Wed Feb 24 11:04:28 2010 +0100
@@ -189,14 +189,12 @@
         # XXX
         self.assertEquals(p.related_rql('evaluee'),
                           'Any X,AA ORDERBY AA DESC '
-                          'WHERE E eid %(x)s, E evaluee X, '
-                          'X modification_date AA')
+                          'WHERE E eid %(x)s, E evaluee X, X modification_date AA')
 
         tag = self.vreg['etypes'].etype_class('Tag')(self.request())
         self.assertEquals(tag.related_rql('tags', 'subject'),
                           'Any X,AA ORDERBY AA DESC '
-                          'WHERE E eid %(x)s, E tags X, '
-                          'X modification_date AA')
+                          'WHERE E eid %(x)s, E tags X, X modification_date AA')
         self.assertEquals(tag.related_rql('tags', 'subject', ('Personne',)),
                           'Any X,AA,AB ORDERBY AA ASC '
                           'WHERE E eid %(x)s, E tags X, X is IN (Personne), X nom AA, '