devtools/__init__.py
changeset 10064 91a8f355c082
parent 10063 335fa90d5ef4
child 10175 2659f8529a43
--- a/devtools/__init__.py	Mon Oct 06 12:08:41 2014 +0200
+++ b/devtools/__init__.py	Wed Nov 19 11:30:18 2014 +0100
@@ -292,6 +292,7 @@
 
 class TestDataBaseHandler(object):
     DRIVER = None
+
     db_cache = {}
     explored_glob = set()
 
@@ -535,6 +536,10 @@
 class PostgresTestDataBaseHandler(TestDataBaseHandler):
     DRIVER = 'postgres'
 
+    # Separate db_cache for PG databases, to avoid collisions with sqlite dbs
+    db_cache = {}
+    explored_glob = set()
+
     __CTL = set()
 
     @classmethod