test/unittest_entity.py
branchstable
changeset 2930 d7c23b2c7538
parent 2650 18aec79ec3a3
child 2931 17224e90a1c4
child 3135 996c1ec7376c
--- a/test/unittest_entity.py	Thu Aug 20 17:57:07 2009 +0200
+++ b/test/unittest_entity.py	Thu Aug 20 17:57:31 2009 +0200
@@ -157,7 +157,8 @@
                               )
             # testing symetric relation
             Personne.fetch_attrs = ('nom', 'connait')
-            self.assertEquals(Personne.fetch_rql(user), 'Any X,AA,AB ORDERBY AA ASC WHERE X is Personne, X nom AA, X connait AB')
+            self.assertEquals(Personne.fetch_rql(user), 'Any X,AA,AB ORDERBY AA ASC '
+                              'WHERE X is Personne, X nom AA, X connait AB?')
             # testing optional relation
             peschema.subject_relation('travaille').set_rproperty(peschema, seschema, 'cardinality', '?*')
             Personne.fetch_attrs = ('nom', 'prenom', 'travaille')