iro/test_helpers/dbtestcase.py
branchdevel
changeset 295 dc3cc61c7f6f
parent 294 0e75bd39767d
--- a/iro/test_helpers/dbtestcase.py	Fri Aug 24 01:05:06 2012 +0200
+++ b/iro/test_helpers/dbtestcase.py	Thu Sep 27 14:13:06 2012 +0200
@@ -81,8 +81,8 @@
     def create(self):
         self.tdir = mkdtemp(prefix='iro-mysql-')
         self.server = Server('%s/my.cnf'%self.tdir)
-        self.db = SampleDatabase("test","test",'%s/my.cnf'%self.tdir)
-        self.dburl = 'mysql://test:test@localhost/test?unix_socket=%s/socket'%self.tdir
+        self.db = SampleDatabase("iro","test",'%s/my.cnf'%self.tdir)
+        self.dburl = 'mysql://test:test@localhost/iro?unix_socket=%s/socket'%self.tdir
         self.engine = create_engine(self.dburl, 
                 poolclass = pool.SingletonThreadPool,  pool_size=dbPool.maxthreads, )#echo=True)
         self.valid = False