From: Victor Stinner Date: Tue, 23 Jun 2015 09:11:04 +0000 (+0200) Subject: Fix tox -e py34 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cde57ee995a849d3a6c4cbcc9990a65e2f08281f;p=openstack-build%2Fcinder-build.git Fix tox -e py34 Add a py34 test environment to tox.ini running a subset of tests which pass on Python 3.4. With this change, the py34 check job should pass and so it will become possible to make the job voting to avoid further Python 3 regressions. Blueprint cinder-python3 Change-Id: If8a8bafe0ff7e8d27baa3467f1790c3cb776457e --- diff --git a/tox.ini b/tox.ini index ae06aa50e..44399fa41 100644 --- a/tox.ini +++ b/tox.ini @@ -26,6 +26,53 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [tox:jenkins] downloadcache = ~/cache/pip +[testenv:py34] +commands = + python -m testtools.run \ + cinder.tests.unit.test_api_urlmap \ + cinder.tests.unit.test_block_device \ + cinder.tests.unit.test_cloudbyte \ + cinder.tests.unit.test_conf \ + cinder.tests.unit.test_context \ + cinder.tests.unit.test_create_volume_flow \ + cinder.tests.unit.test_dellfc \ + cinder.tests.unit.test_dellsc \ + cinder.tests.unit.test_dellscapi \ + cinder.tests.unit.test_emc_xtremio \ + cinder.tests.unit.test_eqlx \ + cinder.tests.unit.test_evaluator \ + cinder.tests.unit.test_exception \ + cinder.tests.unit.test_gpfs \ + cinder.tests.unit.test_hitachi_hbsd_snm2_fc \ + cinder.tests.unit.test_hitachi_hbsd_snm2_iscsi \ + cinder.tests.unit.test_hp_xp_fc \ + cinder.tests.unit.test_hplefthand \ + cinder.tests.unit.test_huawei_drivers_compatibility \ + cinder.tests.unit.test_ibm_xiv_ds8k \ + cinder.tests.unit.test_infortrend_cli \ + cinder.tests.unit.test_netapp_nfs \ + cinder.tests.unit.test_nimble \ + cinder.tests.unit.test_openvstorage \ + cinder.tests.unit.test_qos_specs \ + cinder.tests.unit.test_remotefs \ + cinder.tests.unit.test_replication \ + cinder.tests.unit.test_san \ + cinder.tests.unit.test_scality \ + cinder.tests.unit.test_sheepdog \ + cinder.tests.unit.test_smbfs \ + cinder.tests.unit.test_solidfire \ + cinder.tests.unit.test_test \ + cinder.tests.unit.test_test_utils \ + cinder.tests.unit.test_v6000_common \ + cinder.tests.unit.test_vmware_vmdk \ + cinder.tests.unit.test_vmware_volumeops \ + cinder.tests.unit.test_volume_configuration \ + cinder.tests.unit.test_volume_glance_metadata \ + cinder.tests.unit.test_volume_rpcapi \ + cinder.tests.unit.test_volume_types \ + cinder.tests.unit.test_volume_types_extra_specs \ + cinder.tests.unit.test_volume_utils + [testenv:pep8] commands = flake8 {posargs} . cinder/common