Fix coverage running
The post coverage job fails, fix invocation - this is not shade but openstacksdk. Prior to this change, running tox -e cover resulted in: ... Coverage.py warning: Module shade was never imported. (module-not-imported) Coverage.py warning: No data was collected. (no-data-collected) Change-Id: I920fee18083d41d0938bbe19b4b7cf7759aece0c
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -60,7 +60,7 @@ commands =
|
|||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHON=coverage run --source shade --parallel-mode
|
PYTHON=coverage run --source openstack --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
|
Reference in New Issue
Block a user