equal
deleted
inserted
replaced
182 self.assertEquals(rset.rows[0][0], crset[0][0]) |
182 self.assertEquals(rset.rows[0][0], crset[0][0]) |
183 |
183 |
184 def test_attr_unification_1(self): |
184 def test_attr_unification_1(self): |
185 n1 = self.execute('INSERT Note X: X type "AFFREF"')[0][0] |
185 n1 = self.execute('INSERT Note X: X type "AFFREF"')[0][0] |
186 n2 = self.execute('INSERT Note X: X type "AFFREU"')[0][0] |
186 n2 = self.execute('INSERT Note X: X type "AFFREU"')[0][0] |
187 self.set_debug('DBG_SQL|DBG_MS') |
|
188 rset = self.execute('Any X,Y WHERE X is Note, Y is Affaire, X type T, Y ref T') |
187 rset = self.execute('Any X,Y WHERE X is Note, Y is Affaire, X type T, Y ref T') |
189 self.set_debug(None) |
|
190 self.assertEquals(len(rset), 1, rset.rows) |
188 self.assertEquals(len(rset), 1, rset.rows) |
191 |
189 |
192 def test_attr_unification_2(self): |
190 def test_attr_unification_2(self): |
193 ec2 = cu.execute('INSERT Card X: X title "AFFREF"')[0][0] |
191 ec2 = cu.execute('INSERT Card X: X title "AFFREF"')[0][0] |
194 cnx2.commit() |
192 cnx2.commit() |