Ticket #15927: 15927.patch
File 15927.patch, 883 bytes (added by , 14 years ago) |
---|
-
tests/regressiontests/backends/tests.py
268 268 self.assertTrue(hasattr(connection.ops, 'connection')) 269 269 self.assertEqual(connection, connection.ops.connection) 270 270 271 @unittest.skipUnless(connection.vendor == 'sqlite', 'this test only applies to sqlite') 272 def test_sqlite3_convert_query(self): 273 # #15297: FORMAT_QMARK_REGEX in sqlite backend does not work as expected 274 self.assertEqual(connection.cursor().convert_query('SELECT "%%s";'), 'SELECT "%s";') 271 275 276 272 277 # We don't make these tests conditional because that means we would need to 273 278 # check and differentiate between: 274 279 # * MySQL+InnoDB, MySQL+MYISAM (something we currently can't do).