From 374f56580a361a55def4de25713dc632877275eb Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 11 Jun 2019 15:06:30 -0700 Subject: [PATCH] Switch order of precedence for unit test deps Without this patch, oslo.db is listed both in requirements.txt and test-requirements.txt. Since it is listed without extras in requirements.txt, those extras (like the mysql driver) aren't installed, which means opportunistic database tests are not run. This change fixes the issue by ensuring the oslo.db listed in test-requirements.txt takes precedence. Change-Id: I0ad6a847ad89a7b5ae7d12b6dd90433e4a617778 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bf92e32421..a300c7f1e4 100644 --- a/tox.ini +++ b/tox.ini @@ -8,8 +8,8 @@ usedevelop = True install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt .[ldap,memcache,mongodb] commands = find keystone -type f -name "*.pyc" -delete