server/test/unittest_repository.py
branchstable
changeset 7713 467c52ff9557
parent 7666 8644c2a065f0
child 7723 badfd5524ab6
--- a/server/test/unittest_repository.py	Wed Jul 27 16:44:02 2011 +0200
+++ b/server/test/unittest_repository.py	Wed Jul 27 18:08:39 2011 +0200
@@ -68,7 +68,7 @@
                 namecol, table, finalcol))
             self.assertEqual(cu.fetchall(), [])
             cu = self.session.system_sql('SELECT %s FROM %s WHERE %s=%%(final)s ORDER BY %s'
-                                         % (namecol, table, finalcol, namecol), {'final': 'TRUE'})
+                                         % (namecol, table, finalcol, namecol), {'final': True})
             self.assertEqual(cu.fetchall(), [(u'BigInt',), (u'Boolean',), (u'Bytes',),
                                              (u'Date',), (u'Datetime',),
                                              (u'Decimal',),(u'Float',),