author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 27 Jul 2011 14:03:09 +0200 | |
branch | stable |
changeset 7705 | 2a1f078ebdcd |
parent 7704 | 0f49dd8e76b5 |
child 7706 | 359bc86d2827 |
--- a/server/test/unittest_rql2sql.py Wed Jul 27 12:26:57 2011 +0200 +++ b/server/test/unittest_rql2sql.py Wed Jul 27 14:03:09 2011 +0200 @@ -1871,7 +1871,7 @@ backend = 'sqlite' def _norm_sql(self, sql): - return sql.strip().replace(' ILIKE ', ' LIKE ') + return sql.strip().replace(' ILIKE ', ' LIKE ').replace('TRUE', '1').replace('FALSE', '0') def test_date_extraction(self): self._check("Any MONTH(D) WHERE P is Personne, P creation_date D",