diff options
author | Victor Stinner <vstinner@redhat.com> | 2016-02-11 15:25:07 +0100 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2016-03-25 18:45:38 +0100 |
commit | 9906bc9a6b9c715c310a8ef3ee8fd3111326272d (patch) | |
tree | 224fb75a29855204f1959ac960812335af6e1998 /tox.ini | |
parent | d6d212fe454ff82ec7a8e76715a7321d0d567d39 (diff) | |
download | trove-9906bc9a6b9c715c310a8ef3ee8fd3111326272d.tar.gz |
Add a minimal py34 test environment
The first step to port Trove to Python 3 is to have a working
"tox -e py34" test to avoid regressions.
This change creates such minimum test environment just by running 3
very simple unit tests which have no dependency. With the change, it
becomes possible to make the py34 gate voting to avoid regressions.
Partially implements: blueprint trove-python3
Change-Id: Ie08b45db885639541804c3bcc486e4e451833347
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -26,6 +26,15 @@ commands = bash -c "find trove -type f -regex '.*\.pot?' -print0 | \ xargs -0 -n 1 msgfmt --check-format -o /dev/null" +[testenv:py34] +# Use a whitelist of tests known to pass on Python 3, until +# all unit tests will pass on Python 3. +commands = + python -bb -m testtools.run \ + trove/tests/unittests/common/test_context.py \ + trove/tests/unittests/common/test_exception.py \ + trove/tests/unittests/common/test_wsgi.py + [testenv:debug] commands = oslo_debug_helper {posargs} |