Add ability to test Ironic UI with Horizon master branch
For the developers needs it's useful to be able run tests with the latest Horizon version from the master branch. This patch introduces new tox environment py3-dev to run tests with the Horizon master branch. By default, Horizon will be installed from the master branch of it's git repository. You can override this behaviour by setting HORIZON_REPO environment variable to test the plugin with your local copy. Change-Id: Ie4cda52398dcf97e3e1544052f82c4b5692d2dad
This commit is contained in:
parent
9287dc8185
commit
b1df65887e
6
tox.ini
6
tox.ini
@ -25,6 +25,12 @@ commands = flake8 {posargs}
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:py3-dev]
|
||||
basepython = python3
|
||||
commands =
|
||||
pip install {env:HORIZON_REPO:git+git://git.openstack.org/openstack/horizon}
|
||||
{[testenv]commands}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user