]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix tox -e py34
authorVictor Stinner <vstinner@redhat.com>
Tue, 23 Jun 2015 09:11:04 +0000 (11:11 +0200)
committerVictor Stinner <vstinner@redhat.com>
Tue, 23 Jun 2015 09:12:37 +0000 (11:12 +0200)
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

tox.ini

diff --git a/tox.ini b/tox.ini
index ae06aa50ef28418383a2b1a2b8fce8afb05ed1c7..44399fa41aa9c9daf95f03e2153de59da2358c92 100644 (file)
--- 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