Add ability to test Manila 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: Iea6e53eb38ac82817ad893770316db49c141644a
This commit is contained in:
parent
0c34cba856
commit
c5ef09e882
6
tox.ini
6
tox.ini
|
@ -21,6 +21,12 @@ setenv = DJANGO_SETTINGS_MODULE=manila_ui.tests.settings
|
|||
[testenv:py36]
|
||||
setenv = DJANGO_SETTINGS_MODULE=manila_ui.tests.settings
|
||||
|
||||
[testenv:py3-dev]
|
||||
setenv = DJANGO_SETTINGS_MODULE=manila_ui.tests.settings
|
||||
commands =
|
||||
pip install {env:HORIZON_REPO:git+git://git.openstack.org/openstack/horizon}
|
||||
{[testenv]commands}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands = flake8
|
||||
|
|
Loading…
Reference in New Issue