cinder/cinder/tests/unit
Victor Stinner d7dddd19da Port WSGI tests to Python 3
* Replace dict.keys()[0] with list(data.keys())[0]. On Python 3,
  dict.keys() now returns a view which is not indexable.
* Skip SSL tests on Python 3. Tests hang for an unknown reason, they
  must be fixed later.
* Fix unit tests: HTTP body type is bytes, not Unicode.
* Debug.print_generator(): on Python 3, write into sys.stdout.buffer
  instead of sys.stdout, because HTTP body type is bytes not Unicode.
* ResponseObject: encode serializer output to UTF-8 if it's Unicode.
* tox.ini: add the following tests to Python 3.4

  - cinder.tests.unit.api.openstack.test_wsgi
  - cinder.tests.unit.wsgi

Note: Ignore pylint error E1101 on sys.stdout.buffer. pylint on
Python 2 complains that the buffer attribute doesn't exist, whereas
the code is only executed on Python 3 and the attribute exists on
Python 3.

Related-Bug: #1505103
Partial-Implements: blueprint cinder-python3
Change-Id: I0db0e04010e41be71192a2e4db13829114ad6eef
2015-10-13 18:25:51 +00:00
..
api Port WSGI tests to Python 3 2015-10-13 18:25:51 +00:00
backup test_backup_nfs: Set volume id per test 2015-10-06 17:57:18 -04:00
brick
compute
db
glance
image Image cache tests: use fake_notifier 2015-10-01 15:41:23 -04:00
integrated
keymgr Port test_volume to Python 3 2015-09-29 14:22:40 +02:00
monkey_patch_example
objects
scheduler Port scheduler host manager to Python 3 2015-10-02 10:28:36 +02:00
targets Port targets test_iet_driver to Python 3 2015-10-07 17:20:56 +02:00
var
volume Port EMC scaleio to Python 3 2015-10-07 23:13:45 +02:00
windows
wsgi Port WSGI tests to Python 3 2015-10-13 18:25:51 +00:00
xenapi
zonemanager Fix MITM vulnerability for Brocade FC SAN lookup 2015-09-18 16:13:49 +00:00
__init__.py
cast_as_call.py
conf_fixture.py
declare_conf.py
fake_backup.py
fake_consistencygroup.py
fake_driver.py
fake_hp_3par_client.py
fake_hp_client_exceptions.py
fake_hp_lefthand_client.py
fake_notifier.py
fake_service.py
fake_snapshot.py
fake_utils.py
fake_vmem_client.py
fake_volume.py
policy.json
runtime_conf.py
test_api.py
test_api_urlmap.py
test_backup.py Merge "Fix order of arguments in assertEqual" 2015-09-14 22:25:42 +00:00
test_backup_ceph.py
test_backup_driver_base.py
test_backup_swift.py Merge "Add insecure option for swift backup" 2015-10-09 01:51:43 +00:00
test_backup_tsm.py
test_block_device.py Merge "Implement extend_volume method to Block Device driver" 2015-10-04 10:59:00 +00:00
test_blockbridge.py
test_cloudbyte.py Fix volume related operation in CloudByte driver 2015-09-26 15:23:41 +05:30
test_cmd.py Make rpc_client method private for VolumeCommands 2015-09-21 23:27:04 +03:00
test_conf.py
test_context.py
test_db_api.py Merge "Improve coverage for snapshot_get_by_host" 2015-10-13 03:57:17 +00:00
test_dellfc.py
test_dellsc.py
test_dellscapi.py Dell SC: cgsnapshot-delete doesn't actually delete 2015-09-30 09:29:19 -05:00
test_dothill.py
test_drbdmanagedrv.py DRBD: new option "drbdmanage_devs_on_controller". 2015-10-01 09:58:34 +02:00
test_emc_vmax.py VMAX Target iSCSI IP Address 2015-10-04 22:13:25 -04:00
test_emc_vnxdirect.py Merge "Retype enhancement for EMC VNX cinder driver" 2015-10-09 04:36:47 +00:00
test_emc_xtremio.py
test_eqlx.py Dell Eqlx: Support over subscription in thin provisioning 2015-10-06 10:28:51 -05:00
test_evaluator.py
test_exception.py Fix Status-Line in HTTP response 2015-10-13 10:11:10 +00:00
test_glusterfs.py Merge "Add manage_existing and unmanage to BaseVD" 2015-09-29 20:19:25 +00:00
test_gpfs.py Fix Bad indentation pylint issues 2015-09-27 23:04:26 -07:00
test_hacking.py Hacking check for opt name registration 2015-10-06 08:35:48 -05:00
test_hitachi_hbsd_horcm_fc.py
test_hitachi_hbsd_snm2_fc.py
test_hitachi_hbsd_snm2_iscsi.py
test_hitachi_hnas_backend.py
test_hitachi_hnas_iscsi.py HNAS iSCSI manage does not work with spaces 2015-10-02 10:14:01 -03:00
test_hitachi_hnas_nfs.py
test_hp3par.py
test_hp_xp_fc.py
test_hplefthand.py
test_huawei_drivers.py Fix capacity report error in Huawei driver 2015-10-05 17:44:17 +08:00
test_huawei_drivers_compatibility.py
test_ibm_flashsystem.py
test_ibm_flashsystem_iscsi.py
test_ibm_xiv_ds8k.py
test_ibmnas.py
test_image_utils.py
test_infortrend_cli.py
test_infortrend_common.py
test_migrations.py
test_misc.py
test_netapp.py Port test_netapp to Python 3 2015-10-02 17:47:39 +02:00
test_netapp_eseries_iscsi.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_netapp_nfs.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_netapp_ssc.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_nfs.py
test_nimble.py Add multi-initiator extra-spec for Nimble driver 2015-10-07 10:23:06 -07:00
test_prophetstor_dpl.py
test_pure.py py3: Port pure driver test to Python 3 2015-09-28 17:56:37 +02:00
test_qos_specs.py
test_quobyte.py Port test_quobyte to Python 3 2015-10-03 02:07:46 +02:00
test_quota.py
test_rbd.py Port ceph driver to Python 3 2015-10-08 22:45:53 +02:00
test_remotefs.py
test_replication.py
test_san.py
test_scality.py
test_service.py
test_sheepdog.py
test_smbfs.py
test_solidfire.py Add ability to set prefix in SolidFire Volume name 2015-10-05 17:40:58 -06:00
test_srb.py Port test_srb to Python 3 2015-10-08 12:33:40 +02:00
test_storwize_svc.py Add fast format option for thick volume creation 2015-10-08 09:08:27 +00:00
test_test.py
test_test_utils.py
test_tintri.py
test_utils.py Cleanup orphaned code from cinder root directory 2015-10-01 15:19:15 -05:00
test_v6000_common.py
test_v6000_fcp.py
test_v6000_iscsi.py
test_v7000_common.py
test_v7000_fcp.py Port violin driver to Python 3 2015-10-07 23:21:05 +02:00
test_vmware_datastore.py
test_vmware_vmdk.py VMware: Remove VMDK driver for ESX server 2015-09-22 13:51:42 +05:30
test_vmware_volumeops.py Fix Bad indentation pylint issues 2015-09-27 23:04:26 -07:00
test_volume.py Merge "Verify volume is replication capable" 2015-10-09 04:36:58 +00:00
test_volume_configuration.py
test_volume_glance_metadata.py
test_volume_rpcapi.py
test_volume_throttling.py
test_volume_transfer.py
test_volume_types.py
test_volume_types_extra_specs.py
test_volume_utils.py
test_vzstorage.py
test_xio.py
test_zfssa.py
utils.py