server/test/unittest_multisources.py
branchstable
changeset 2072 8008e8812d76
parent 1977 606923dff11b
child 2773 b2530e3e0afb
child 2920 64322aa83a1d
--- a/server/test/unittest_multisources.py	Tue Jun 09 14:45:57 2009 +0200
+++ b/server/test/unittest_multisources.py	Tue Jun 09 14:46:39 2009 +0200
@@ -14,6 +14,8 @@
 from cubicweb.devtools.apptest import RepositoryBasedTC
 from cubicweb.devtools.repotest import do_monkey_patch, undo_monkey_patch
 
+TestServerConfiguration.no_sqlite_wrap = True
+
 class TwoSourcesConfiguration(TestServerConfiguration):
     sourcefile = 'sources_multi'
 
@@ -114,6 +116,7 @@
         cu = cnx.cursor()
         rset = cu.execute('Any X WHERE X has_text "card"')
         self.assertEquals(len(rset), 5, zip(rset.rows, rset.description))
+        cnx.close()
 
     def test_synchronization(self):
         cu = cnx2.cursor()