From f654329297424c68caae1eb4d5ec2b983794f579 Mon Sep 17 00:00:00 2001 From: Ameed Ashour Date: Mon, 12 Feb 2018 01:37:01 -0500 Subject: [PATCH] tox.ini settings for global constraints are out of date there are differences between oslo.config tox.ini and placement-osc-plugin tox.ini . Change-Id: I810c17e8f3bd1ac1f276869d69443ed2c47c8f7d Closes-Bug: #1745471 --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index dc5e111..4f4c294 100644 --- a/tox.ini +++ b/tox.ini @@ -5,12 +5,15 @@ skipsdist = True [testenv] usedevelop = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning OS_TEST_PATH=./osc_placement/tests/unit -deps = -r{toxinidir}/test-requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt commands = python setup.py test --slowest --testr-args='{posargs}' [testenv:functional]