summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2014-09-03 19:04:28 +0000
committerJeremy Stanley <fungi@yuggoth.org>2014-09-03 20:06:14 +0000
commit4bb23e3e55f8bc55566611f1b26dc94396262b13 (patch)
treef83345c0e85f6ec23447cec6ce74a4d8748c46e2
parentba834d9a546f4b9fbb3b2306f20708f57793d510 (diff)
downloadoslo-incubator-4bb23e3e55f8bc55566611f1b26dc94396262b13.tar.gz
Work toward Python 3.4 support and testing
Change-Id: I9914f98b935e81e3735309986aa7e7d7554b0113
-rw-r--r--tox.ini66
1 files changed, 65 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 096fc9c2..94969110 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 1.6
-envlist = py26,py27,py33,pep8,pylint
+envlist = py26,py27,py33,py34,pep8,pylint
skipsdist = True
[testenv]
@@ -120,6 +120,70 @@ commands =
tests.unit.test_versionutils \
tests.unit.test_xmlutils
+[testenv:py34]
+deps = -r{toxinidir}/requirements-py3.txt
+ -r{toxinidir}/test-requirements-py3.txt
+commands =
+ python -m openstack.common.lockutils \
+ python -m testtools.run \
+ tests.unit.apiclient.test_auth \
+ tests.unit.apiclient.test_base \
+ tests.unit.apiclient.test_client \
+ tests.unit.apiclient.test_exceptions \
+ tests.unit.cache.test_cache \
+ tests.unit.cache.test_memory \
+ tests.unit.config.test_generator \
+ tests.unit.crypto.test_utils \
+ tests.unit.db.sqlalchemy.test_migrate \
+ tests.unit.db.sqlalchemy.test_migrate_cli \
+ tests.unit.db.sqlalchemy.test_models \
+ tests.unit.db.sqlalchemy.test_options \
+ tests.unit.db.test_api \
+ tests.unit.fixture.test_config \
+ tests.unit.fixture.test_logging \
+ tests.unit.fixture.test_mockpatch \
+ tests.unit.middleware.test_catch_errors \
+ tests.unit.middleware.test_correlation_id \
+ tests.unit.middleware.test_notifier \
+ tests.unit.middleware.test_request_id \
+ tests.unit.middleware.test_sizelimit \
+ tests.unit.reports.test_base_report \
+ tests.unit.reports.test_guru_meditation_report \
+ tests.unit.reports.test_openstack_generators \
+ tests.unit.reports.test_views \
+ tests.unit.rpc.test_dispatcher \
+ tests.unit.scheduler.test_base_filter \
+ tests.unit.scheduler.test_host_filters \
+ tests.unit.scheduler.test_weights \
+ tests.unit.test_cliutils \
+ tests.unit.test_context \
+ tests.unit.test_deprecated \
+ tests.unit.test_excutils \
+ tests.unit.test_fileutils \
+ tests.unit.test_funcutils \
+ tests.unit.test_hooks \
+ tests.unit.test_imageutils \
+ tests.unit.test_importutils \
+ tests.unit.test_jsonutils \
+ tests.unit.test_local \
+ tests.unit.test_lockutils \
+ tests.unit.test_log \
+ tests.unit.test_memorycache \
+ tests.unit.test_network_utils \
+ tests.unit.test_notifier \
+ tests.unit.test_periodic \
+ tests.unit.test_policy \
+ tests.unit.test_quota \
+ tests.unit.test_request_utils \
+ tests.unit.test_sslutils \
+ tests.unit.test_strutils \
+ tests.unit.test_systemd \
+ tests.unit.test_timeutils \
+ tests.unit.test_units \
+ tests.unit.test_uuidutils \
+ tests.unit.test_versionutils \
+ tests.unit.test_xmlutils
+
[testenv:pyflakes]
commands = flake8