devtools/fake.py
changeset 5768 1e73a466aa69
parent 5467 57372dbfd114
child 6427 c8a5ac2d1eaa
--- a/devtools/fake.py	Thu Jun 17 12:13:38 2010 +0200
+++ b/devtools/fake.py	Thu Jun 17 14:43:16 2010 +0200
@@ -16,8 +16,8 @@
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """Fake objects to ease testing of cubicweb without a fully working environment
+"""
 
-"""
 __docformat__ = "restructuredtext en"
 
 from logilab.database import get_db_helper
@@ -46,7 +46,7 @@
         return self._cubes
 
     def sources(self):
-        return {}
+        return {'system': {'db-driver': 'sqlite'}}
 
 
 class FakeRequest(CubicWebRequestBase):