From 44b552e0712001166e7a4fe1ae2d15811da8d104 Mon Sep 17 00:00:00 2001 From: HeroicHitesh Date: Wed, 30 Jun 2021 20:31:16 +0530 Subject: [PATCH] Remove testr * Remove .testr.conf as there is no tests dir and update .gitignore accordingly * Use 3.18.0 as the minversion for tox in order to use allowlist_externals option Signed-off-by: HeroicHitesh Change-Id: I0efdc4dd0ce658cc13c543946c6af1da867e6d4b --- .gitignore | 1 - .testr.conf | 7 ------- tox.ini | 4 ++-- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .testr.conf diff --git a/.gitignore b/.gitignore index 49eb6f7..767f8a9 100644 --- a/.gitignore +++ b/.gitignore @@ -38,7 +38,6 @@ pip-log.txt .coverage .tox nosetests.xml -.testrepository # Translations *.mo diff --git a/.testr.conf b/.testr.conf deleted file mode 100644 index fb62267..0000000 --- a/.testr.conf +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ - OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ - OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ - ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION -test_id_option=--load-list $IDFILE -test_list_option=--list \ No newline at end of file diff --git a/tox.ini b/tox.ini index 8083e61..9880e4b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.1.1 +minversion = 3.18.0 envlist = docs skipsdist = true ignore_basepython_conflict = true @@ -8,7 +8,7 @@ ignore_basepython_conflict = true basepython = python3 [testenv:docs] -whitelist_externals = +allowlist_externals = rm deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}