a03b141a95
Brief summary of the modifications: * Use six for compatibility with both Python 2 and 3; * Replace UserDict.DictMixin with collections.MutableMapping; * Fix relative imports; * Use test-requirements.txt for requirements that are common to both Python 2 and 3, and test-requirements-py{2,3}.txt for version-specific requirements; * Miscellaneous fixes. * Use a specific test_db_py3.cfg file for Python 3, that only runs tests on sqlite. Thanks to Victor Stinner who co-wrote this patch. Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4 Co-Authored-By: Victor Stinner <victor.stinner@enovance.com>
16 lines
738 B
INI
16 lines
738 B
INI
# test_db.cfg
|
|
#
|
|
# This file contains a list of connection strings which will be used by
|
|
# database tests. Tests will be executed once for each string in this file.
|
|
# You should be sure that the database used for the test doesn't contain any
|
|
# important data. See README for more information.
|
|
#
|
|
# The string '__tmp__' is substituted for a temporary file in each connection
|
|
# string. This is useful for sqlite tests.
|
|
sqlite:///__tmp__
|
|
#postgresql://openstack_citest:openstack_citest@localhost/openstack_citest
|
|
#mysql://openstack_citest:openstack_citest@localhost/openstack_citest
|
|
#oracle://scott:tiger@localhost
|
|
#firebird://scott:tiger@localhost//var/lib/firebird/databases/test_migrate
|
|
#ibm_db_sa://migrate:migrate@localhost:50000/migrate
|