From 6cf382b960fb1cb27a1059108fbd97e789047ebe Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Tue, 1 Aug 2017 10:41:55 -0500 Subject: [PATCH] Install nova test requirements for tox Because nova-powervm follows nova at a development level, we have to install the latest master branch, so we can't put nova in our [test-]requirements.txt. Instead, we put it in our tox.ini testenv deps as a git clone and install. This pulls in nova's requirements.txt, but not its test-requirements.txt. Change [1] moved nova's wsgi_intercept dependency from requirements.txt to test-requirements.txt; but this didn't cause problems yet because wsgi_intercept wasn't actually being imported in a path that mattered to nova-powervm testing until [2]. This change set explicitly adds nova's test-requirements.txt, pulled from the master branch, to the nova-powervm testenv deps. [1] I0d8325e12ed7d5d022877782d6aa4ba4055c30db [2] I03b3abea152d45575ac6dde22ccbe32b6acb4646 Change-Id: I9f4263f22fb73bf694bf0d2f766d1b921c1f2704 Closes-Bug: #1707951 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c29c1cda..1382e2bb 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -egit+https://github.com/openstack/nova#egg=nova + -rhttps://raw.githubusercontent.com/openstack/nova/master/test-requirements.txt whitelist_externals = bash commands = bash tools/pretty_tox.sh '{posargs}'