[Neo-report] r2717 jm - /trunk/neo/tests/functional/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 13 11:29:31 CEST 2011


Author: jm
Date: Wed Apr 13 11:29:31 2011
New Revision: 2717

Log:
tests: new environment variable to specify default adapter

Modified:
    trunk/neo/tests/functional/__init__.py

Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Wed Apr 13 11:29:31 2011
@@ -215,8 +215,8 @@ class NEOCluster(object):
     def __init__(self, db_list, master_node_count=1, partitions=1, replicas=0,
                  db_user='neo', db_password='neo',
                  db_super_user=DB_ADMIN, db_super_password=DB_PASSWD,
-                 cleanup_on_delete=False, temp_dir=None,
-                 clear_databases=True, adapter='MySQL',
+                 cleanup_on_delete=False, temp_dir=None, clear_databases=True,
+                 adapter=os.getenv('NEO_TESTS_ADAPTER', 'MySQL'),
                  verbose=True,
                  address_type=ADDRESS_TYPE,
         ):




More information about the Neo-report mailing list