169 'Any X,AA,AB,AC,AD ORDERBY AA ASC ' |
169 'Any X,AA,AB,AC,AD ORDERBY AA ASC ' |
170 'WHERE X is Personne, X nom AA, X prenom AB, X travaille AC?, AC nom AD') |
170 'WHERE X is Personne, X nom AA, X prenom AB, X travaille AC?, AC nom AD') |
171 # testing two non final relations |
171 # testing two non final relations |
172 Personne.fetch_attrs = ('nom', 'prenom', 'travaille', 'evaluee') |
172 Personne.fetch_attrs = ('nom', 'prenom', 'travaille', 'evaluee') |
173 self.assertEqual(Personne.fetch_rql(user), |
173 self.assertEqual(Personne.fetch_rql(user), |
174 'Any X,AA,AB,AC,AD,AE,AF ORDERBY AA ASC,AF DESC ' |
174 'Any X,AA,AB,AC,AD,AE ORDERBY AA ASC ' |
175 'WHERE X is Personne, X nom AA, X prenom AB, X travaille AC?, AC nom AD, ' |
175 'WHERE X is Personne, X nom AA, X prenom AB, X travaille AC?, AC nom AD, ' |
176 'X evaluee AE?, AE modification_date AF') |
176 'X evaluee AE?') |
177 # testing one non final relation with recursion |
177 # testing one non final relation with recursion |
178 Personne.fetch_attrs = ('nom', 'prenom', 'travaille') |
178 Personne.fetch_attrs = ('nom', 'prenom', 'travaille') |
179 Societe.fetch_attrs = ('nom', 'evaluee') |
179 Societe.fetch_attrs = ('nom', 'evaluee') |
180 self.assertEqual(Personne.fetch_rql(user), |
180 self.assertEqual(Personne.fetch_rql(user), |
181 'Any X,AA,AB,AC,AD,AE,AF ORDERBY AA ASC,AF DESC ' |
181 'Any X,AA,AB,AC,AD,AE,AF ORDERBY AA ASC,AF DESC ' |