Browse Source

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
tags/3.4.0
Ivan Kolodyazhny 8 months ago
parent
commit
b1df65887e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      tox.ini

+ 6
- 0
tox.ini View File

@@ -25,6 +25,12 @@ commands = flake8 {posargs}
25 25
 basepython = python3
26 26
 commands = {posargs}
27 27
 
28
+[testenv:py3-dev]
29
+basepython = python3
30
+commands =
31
+  pip install {env:HORIZON_REPO:git+git://git.openstack.org/openstack/horizon}
32
+  {[testenv]commands}
33
+
28 34
 [testenv:cover]
29 35
 basepython = python3
30 36
 commands = python setup.py test --coverage --testr-args='{posargs}'

Loading…
Cancel
Save