From 9ee9b136ebec5d21f5165acc5e4441c3e91a56dd Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 26 Jul 2017 12:43:00 +0200 Subject: Add doctor-test package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It also updates test-requirements.txt to conform with OpenStack stable/ocata and renames it requirements.txt. tests.main:main is considered as entry point and run.sh as script. run.sh could be renamed to avoid possible conflicts in functest. tox.ini is updated to pin the right versions and build files are filtered. The next dependencies can be safely removed: - paramiko - scp - python-openstackclient - python-ceilometerclient - virtualenv Change-Id: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: Cédric Ollivier --- tox.ini | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index e75a3741..c6262ed5 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,12 @@ envlist = py34 skipsdist = True [testenv] -install_command = pip install -U {opts} {packages} +usedevelop = True +install_command = pip install \ + -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata \ + {opts} {packages} setenv = VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/test-requirements.txt +deps = -r{toxinidir}/requirements.txt passenv = OS_AUTH_URL OS_USERNAME @@ -21,5 +24,4 @@ passenv = PYTHON_ENABLE CI_DEBUG changedir = {toxinidir}/tests -commands = python main.py - +commands = doctor-test -- cgit 1.2.3-korg