Commit 8c64c99e authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use differents databases between storage tests and ZODB to run them

simultaneously.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@511 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9182462d
...@@ -30,7 +30,7 @@ import MySQLdb ...@@ -30,7 +30,7 @@ import MySQLdb
SQL_ADMIN_USER = 'root' SQL_ADMIN_USER = 'root'
SQL_ADMIN_PASSWORD = None SQL_ADMIN_PASSWORD = None
NEO_SQL_USER = 'test' NEO_SQL_USER = 'test'
NEO_SQL_DATABASE = 'test_neo1' NEO_SQL_DATABASE = 'test_storage_neo1'
class StorageAppTests(unittest.TestCase): class StorageAppTests(unittest.TestCase):
......
...@@ -36,7 +36,7 @@ from neo.protocol import ANSWER_PRIMARY_MASTER ...@@ -36,7 +36,7 @@ from neo.protocol import ANSWER_PRIMARY_MASTER
SQL_ADMIN_USER = 'root' SQL_ADMIN_USER = 'root'
SQL_ADMIN_PASSWORD = None SQL_ADMIN_PASSWORD = None
NEO_SQL_USER = 'test' NEO_SQL_USER = 'test'
NEO_SQL_DATABASE = 'test_neo1' NEO_SQL_DATABASE = 'test_storage_neo1'
class StorageBootstrapTests(unittest.TestCase): class StorageBootstrapTests(unittest.TestCase):
......
...@@ -27,7 +27,7 @@ from neo.storage.mysqldb import MySQLDatabaseManager, p64, u64 ...@@ -27,7 +27,7 @@ from neo.storage.mysqldb import MySQLDatabaseManager, p64, u64
SQL_ADMIN_USER = 'root' SQL_ADMIN_USER = 'root'
SQL_ADMIN_PASSWORD = None SQL_ADMIN_PASSWORD = None
NEO_SQL_USER = 'test' NEO_SQL_USER = 'test'
NEO_SQL_DATABASE = 'test_neo1' NEO_SQL_DATABASE = 'test_storage_neo1'
class StorageMySQSLdbTests(unittest.TestCase): class StorageMySQSLdbTests(unittest.TestCase):
......
...@@ -34,7 +34,7 @@ from neo.protocol import * ...@@ -34,7 +34,7 @@ from neo.protocol import *
SQL_ADMIN_USER = 'root' SQL_ADMIN_USER = 'root'
SQL_ADMIN_PASSWORD = None SQL_ADMIN_PASSWORD = None
NEO_SQL_USER = 'test' NEO_SQL_USER = 'test'
NEO_SQL_DATABASE = 'test_neo1' NEO_SQL_DATABASE = 'test_storage_neo1'
class StorageOperationTests(unittest.TestCase): class StorageOperationTests(unittest.TestCase):
......
...@@ -43,7 +43,7 @@ from neo.storage.mysqldb import MySQLDatabaseManager, p64, u64 ...@@ -43,7 +43,7 @@ from neo.storage.mysqldb import MySQLDatabaseManager, p64, u64
SQL_ADMIN_USER = 'root' SQL_ADMIN_USER = 'root'
SQL_ADMIN_PASSWORD = None SQL_ADMIN_PASSWORD = None
NEO_SQL_USER = 'test' NEO_SQL_USER = 'test'
NEO_SQL_DATABASE = 'test_neo1' NEO_SQL_DATABASE = 'test_storage_neo1'
class StorageVerificationTests(unittest.TestCase): class StorageVerificationTests(unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment