Switch to using stestr
According to Openstack summit session [1] stestr is maintained project to which all Openstack projects should migrate. Let's switch it then. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Iebd6f34335e4ef0dd3629e970661d8c9ef08754a Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
def805bcc4
commit
7903657bd1
2
.gitignore
vendored
2
.gitignore
vendored
@ -20,4 +20,4 @@ cover/
|
|||||||
.coverage
|
.coverage
|
||||||
.testrepository/
|
.testrepository/
|
||||||
.venv
|
.venv
|
||||||
.stestr
|
.stestr
|
||||||
|
4
.stestr.conf
Normal file
4
.stestr.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_path=${OS_TEST_PATH:-./monasca_common/tests}
|
||||||
|
top_dir=./
|
||||||
|
group_regex=monasca_common\.tests(?:\.|_)([^_]+)
|
@ -11,7 +11,7 @@ httplib2>=0.9.1 # MIT
|
|||||||
mock>=2.0.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
oslo.context>=2.19.2 # Apache-2.0
|
oslo.context>=2.19.2 # Apache-2.0
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
os-testr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
requests-mock>=1.2.0 # Apache-2.0
|
requests-mock>=1.2.0 # Apache-2.0
|
||||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||||
testscenarios>=0.4 # Apache-2.0/BSD
|
testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
|
4
tox.ini
4
tox.ini
@ -28,7 +28,7 @@ commands =
|
|||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
ostestr {posargs}
|
stestr run {posargs}
|
||||||
|
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
basepython = python3.5
|
basepython = python3.5
|
||||||
@ -37,7 +37,7 @@ setenv =
|
|||||||
BLACKLIST_FILE={toxinidir}/test-blacklist-py3.txt
|
BLACKLIST_FILE={toxinidir}/test-blacklist-py3.txt
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
ostestr --blacklist-file {env:BLACKLIST_FILE} {posargs}
|
stestr run --blacklist-file {env:BLACKLIST_FILE} {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user