From e5d6b14534fa682bbc507aadbf784ad0defe4424 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Mon, 2 Jul 2018 19:23:45 +0000 Subject: [PATCH] Convert tox.ini to using stestr With the upgrade to oslotest 3.6.0 [0], testr no longer works [1]. This is because oslotest no longer requires testr and we don't depend on it directly in oslo.limit. [0] https://github.com/openstack/requirements/commit/d5a3c58f7195517a6083032e41b702c2a0aca431 [1] https://github.com/openstack/oslotest/commit/897823fbd61ae9ba015af38e9fed5a5728de64c2 Change-Id: I4357350b3ad442658ef872c295dbe734a0f2cc9b --- .gitignore | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ff9d662..4ac253f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ pip-log.txt .tox nosetests.xml .testrepository +.stestr # Translations *.mo diff --git a/tox.ini b/tox.ini index 6947aad..b29ab21 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ 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 testr --slowest --testr-args='{posargs}' +commands = stestr run --slowest {posargs} [testenv:py27] basepython = python2.7