mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Change test order to avoid incompatibliity
If py26 or py27 tests are run first, there is a incompatibility in
the .testrepository that breaks several tests. To get around this,
you need to run the py33 tests first. This change was made over in
the cliff project.
Before:
(.venv)terry@brat:~/cli$ rm -rf .testrepository/
(.venv)terry@brat:~/cli$ tox
...
py26: commands succeeded
py27: commands succeeded
ERROR: py33: commands failed
ERROR: py34: commands failed
pep8: commands succeeded
After:
(.venv)terry@brat:~/cli$ rm -rf .testrepository/
(.venv)terry@brat:~/cli$ tox
...
py33: commands succeeded
py34: commands succeeded
py26: commands succeeded
py27: commands succeeded
pep8: commands succeeded
congratulations :)
(.venv)terry@brat:~/cli$
Change-Id: Ie1717efd6827eae36683f2e7fe7ff8ec58ff4aa8
This commit is contained in:
parent
a4394ebb7a
commit
d843255bd8
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = py26,py27,py33,py34,pep8
|
||||
envlist = py33,py34,py26,py27,pep8
|
||||
skipdist = True
|
||||
|
||||
[testenv]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue