Browse Source

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
changes/29/580029/1
Vu Cong Tuan 3 years ago
parent
commit
3743773622
  1. 5
      .gitignore
  2. 4
      .testr.conf
  3. 1
      lower-constraints.txt
  4. 2
      run_tests.sh
  5. 1
      test-requirements.txt

5
.gitignore

@ -26,8 +26,7 @@ cover/
.coverage*
!.coveragerc
.tox
nosetests.xml
.testrepository
.stestr/
.venv
# Translations
@ -55,4 +54,4 @@ ChangeLog
.*sw?
# Files created by releasenotes build
releasenotes/build
releasenotes/build

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

1
lower-constraints.txt

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

2
run_tests.sh

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

1
test-requirements.txt

@ -13,7 +13,6 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=3.2.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
testtools>=2.2.0 # MIT
testscenarios>=0.4 # Apache-2.0/BSD

Loading…
Cancel
Save