equal
deleted
inserted
replaced
251 cnx.commit() |
251 cnx.commit() |
252 rset = cu.execute('Any X WHERE X eid %(x)s', {'x': aff2}, 'x') |
252 rset = cu.execute('Any X WHERE X eid %(x)s', {'x': aff2}, 'x') |
253 self.assertEquals(rset.rows, [[aff2]]) |
253 self.assertEquals(rset.rows, [[aff2]]) |
254 # more cache test w/ NOT eid |
254 # more cache test w/ NOT eid |
255 rset = cu.execute('Affaire X WHERE NOT X eid %(x)s', {'x': eid}, 'x') |
255 rset = cu.execute('Affaire X WHERE NOT X eid %(x)s', {'x': eid}, 'x') |
256 self.assertEquals(rset.rows, []) |
256 self.assertEquals(rset.rows, [[aff2]]) |
257 rset = cu.execute('Affaire X WHERE NOT X eid %(x)s', {'x': aff2}, 'x') |
257 rset = cu.execute('Affaire X WHERE NOT X eid %(x)s', {'x': aff2}, 'x') |
258 self.assertEquals(rset.rows, []) |
258 self.assertEquals(rset.rows, []) |
259 |
259 |
260 def test_read_erqlexpr_has_text1(self): |
260 def test_read_erqlexpr_has_text1(self): |
261 aff1 = self.execute("INSERT Affaire X: X sujet 'cool'")[0][0] |
261 aff1 = self.execute("INSERT Affaire X: X sujet 'cool'")[0][0] |