From d843255bd8c43bb3f17cd06b969e31e2fd58b2c1 Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Wed, 28 Jan 2015 05:44:37 -0700 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c8509115bd..70076e8b76 100644 --- a/tox.ini +++ b/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]