From 1548d460b8775f8e8c5f0f00f88bfd50601991b3 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 18 Jun 2015 19:06:01 +0000 Subject: [PATCH] Override opportunistic database tests to PyMySQL Set the OS_TEST_DBAPI_ADMIN_CONNECTION override variable so that oslo.db opportunistic detection will know to use PyMySQL until I12b32dc097a121bd43991bc38dd4d289b65e86c1 makes it the default behavior. Change-Id: I1b27cbdc0612ac63501e2f132bab1c065fe9a3ba Co-Authored-By: Victor Sergeyev --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4736a27379..10076a6b8c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py27,pep8 [testenv] setenv = VIRTUAL_ENV={envdir} + OS_TEST_DBAPI_ADMIN_CONNECTION=mysql+pymysql://openstack_citest:openstack_citest@localhost/;postgresql://openstack_citest:openstack_citest@localhost/postgres;sqlite:// usedevelop = True install_command = pip install {opts} {packages} deps = -r{toxinidir}/requirements.txt