test/unittest_dbapi.py
changeset 7554 fdace9d67d96
parent 6613 e7ff604491b2
child 8366 6599f69bb846
--- a/test/unittest_dbapi.py	Wed Jun 22 18:53:38 2011 +0200
+++ b/test/unittest_dbapi.py	Thu Jun 23 07:41:25 2011 +0200
@@ -32,7 +32,8 @@
     def test_public_repo_api(self):
         cnx = self.login('anon')
         self.assertEqual(cnx.get_schema(), self.repo.schema)
-        self.assertEqual(cnx.source_defs(), {'system': {'type': 'native', 'uri': 'system'}})
+        self.assertEqual(cnx.source_defs(), {'system': {'type': 'native', 'uri': 'system',
+                                                        'use-cwuri-as-url': False}})
         self.restore_connection() # proper way to close cnx
         self.assertRaises(ProgrammingError, cnx.get_schema)
         self.assertRaises(ProgrammingError, cnx.source_defs)