Remove os-testr leftovers
All projects should be switched to use stestr already. In neutron-fwaas it is already done but there were some leftovers after os-testr and this commit removes them. Change-Id: I7d0c72d1327eedcfd309ec4c346064d0adad6008
This commit is contained in:
parent
330e233a40
commit
a88d23c797
|
@ -30,7 +30,6 @@ subunit.log
|
||||||
!/.gitreview
|
!/.gitreview
|
||||||
!/.mailmap
|
!/.mailmap
|
||||||
!/.pylintrc
|
!/.pylintrc
|
||||||
!/.testr.conf
|
|
||||||
!/.zuul.yaml
|
!/.zuul.yaml
|
||||||
!/.stestr.conf
|
!/.stestr.conf
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[DEFAULT]
|
|
||||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./neutron_fwaas/tests/unit} $LISTOPT $IDOPTION
|
|
||||||
test_id_option=--load-list $IDFILE
|
|
||||||
test_list_option=--list
|
|
|
@ -58,7 +58,6 @@ openstacksdk==0.11.2
|
||||||
os-client-config==1.28.0
|
os-client-config==1.28.0
|
||||||
os-ken==0.3.0
|
os-ken==0.3.0
|
||||||
os-service-types==1.2.0
|
os-service-types==1.2.0
|
||||||
os-testr==1.0.0
|
|
||||||
os-xenapi==0.3.1
|
os-xenapi==0.3.1
|
||||||
osc-lib==1.8.0
|
osc-lib==1.8.0
|
||||||
oslo.cache==1.26.0
|
oslo.cache==1.26.0
|
||||||
|
|
|
@ -9,7 +9,6 @@ mock>=2.0.0 # BSD
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||||
requests-mock>=1.2.0 # Apache-2.0
|
requests-mock>=1.2.0 # Apache-2.0
|
||||||
oslo.concurrency>=3.26.0 # Apache-2.0
|
oslo.concurrency>=3.26.0 # Apache-2.0
|
||||||
os-testr>=1.0.0 # Apache-2.0
|
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
testresources>=2.0.0 # Apache-2.0/BSD
|
testresources>=2.0.0 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# preserve old behavior of using an arg as a regex when '--' is not present
|
|
||||||
case $@ in
|
|
||||||
(*--*) ostestr $@;;
|
|
||||||
('') ostestr;;
|
|
||||||
(*) ostestr --regex "$@"
|
|
||||||
esac
|
|
3
tox.ini
3
tox.ini
|
@ -6,6 +6,9 @@ skipsdist = True
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
|
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
|
||||||
|
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}
|
||||||
|
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue