Switch to stestr

According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: If6568801a77969f0371de654d113532732a3538c
This commit is contained in:
Vu Cong Tuan 2018-07-04 11:33:58 +07:00
parent 85be41b3b5
commit 3743773622
5 changed files with 3 additions and 10 deletions

3
.gitignore vendored
View File

@ -26,8 +26,7 @@ cover/
.coverage* .coverage*
!.coveragerc !.coveragerc
.tox .tox
nosetests.xml .stestr/
.testrepository
.venv .venv
# Translations # Translations

View File

@ -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:-./vmware_nsxlib/tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -128,7 +128,6 @@ stevedore==1.20.0
tempest==17.1.0 tempest==17.1.0
Tempita==0.5.2 Tempita==0.5.2
tenacity==4.4.0 tenacity==4.4.0
testrepository==0.0.18
testresources==2.0.0 testresources==2.0.0
testscenarios==0.4 testscenarios==0.4
testtools==2.2.0 testtools==2.2.0

View File

@ -196,7 +196,7 @@ function run_pep8_changed {
} }
TESTRTESTS="python setup.py testr" TESTRTESTS="stestr run"
if [ $never_venv -eq 0 ] if [ $never_venv -eq 0 ]
then then

View File

@ -13,7 +13,6 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
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
testscenarios>=0.4 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD