Remove testr

* Remove .testr.conf as it's not used anywhere
* Remove .testrepository from .gitignore
* Use 3.18.0 as the minversion for tox
* Add 17.1.0 as lower bound for 'horizon' package in
  doc/requirements.txt

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I19741f36d0bd08e49faa5be222adce9eb61b41a5
This commit is contained in:
HeroicHitesh 2021-05-20 13:08:12 +05:30
parent c0e3256a20
commit 258bd56eff
5 changed files with 6 additions and 15 deletions

6
.gitignore vendored
View File

@ -24,10 +24,10 @@ lib64
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
.coverage*
coverage.xml
nosetests.xml
.testrepository
.tox
.venv
# Translations

View File

@ -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

View File

@ -2,13 +2,12 @@ sphinx>=2.0.0,!=2.1.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
reno>=3.1.0 # Apache-2.0
testtools>=2.2.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
# The below is rewquired to build testing module reference
# Include horizon as test requirement
horizon
horizon>=17.1.0 # Apache-2.0
selenium>=2.50.1 # Apache-2.0
xvfbwrapper>=0.1.3 #license: MIT

View File

@ -8,7 +8,6 @@ coverage!=4.4,>=4.0 # Apache-2.0
nodeenv>=0.9.4 # BSD
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
pycodestyle>=2.0.0,<2.7.0 # MIT

View File

@ -1,5 +1,5 @@
[tox]
minversion = 3.1.0
minversion = 3.18.0
skipsdist = True
envlist = py3,pep8
ignore_basepython_conflict=true
@ -67,7 +67,7 @@ commands =
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
whitelist_externals = make
allowlist_externals = make
commands =
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf