]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix argument order for assertEqual in tests
authorSkyler Berg <sberg@tintri.com>
Tue, 4 Aug 2015 21:44:58 +0000 (14:44 -0700)
committerSkyler Berg <sberg@tintri.com>
Tue, 11 Aug 2015 17:09:40 +0000 (10:09 -0700)
commit3c236141c90424650fe4eadbdf053a1bad277467
tree0fc56ce899af2caf1c270622aba4594ef1d2749a
parent693ad7ce16a5fff34252ee7518a553f094a9356a
Fix argument order for assertEqual in tests

Some tests incorrectly use the order assertEqual(observed, expected)
instead of the correct order, assertEqual(expected, observed). This
patch corrects this issue.

Change-Id: I4683b80451d3e4576443c4472a01460b24633d04
Closes-Bug: #1259292
80 files changed:
cinder/tests/unit/api/contrib/test_admin_actions.py
cinder/tests/unit/api/contrib/test_backups.py
cinder/tests/unit/api/contrib/test_consistencygroups.py
cinder/tests/unit/api/contrib/test_qos_specs_manage.py
cinder/tests/unit/api/contrib/test_quotas.py
cinder/tests/unit/api/contrib/test_volume_manage.py
cinder/tests/unit/api/contrib/test_volume_migration_status_attribute.py
cinder/tests/unit/api/contrib/test_volume_transfer.py
cinder/tests/unit/api/openstack/test_wsgi.py
cinder/tests/unit/api/test_common.py
cinder/tests/unit/api/test_wsgi.py
cinder/tests/unit/api/test_xmlutil.py
cinder/tests/unit/api/v1/test_limits.py
cinder/tests/unit/api/v1/test_snapshots.py
cinder/tests/unit/api/v1/test_types.py
cinder/tests/unit/api/v1/test_volumes.py
cinder/tests/unit/api/v2/test_limits.py
cinder/tests/unit/api/v2/test_volumes.py
cinder/tests/unit/brick/test_brick_lvm.py
cinder/tests/unit/targets/test_iser_driver.py
cinder/tests/unit/targets/test_lio_driver.py
cinder/tests/unit/targets/test_tgt_driver.py
cinder/tests/unit/test_api_urlmap.py
cinder/tests/unit/test_backup.py
cinder/tests/unit/test_backup_ceph.py
cinder/tests/unit/test_backup_driver_base.py
cinder/tests/unit/test_backup_swift.py
cinder/tests/unit/test_block_device.py
cinder/tests/unit/test_cmd.py
cinder/tests/unit/test_context.py
cinder/tests/unit/test_db_api.py
cinder/tests/unit/test_dellfc.py
cinder/tests/unit/test_dellsc.py
cinder/tests/unit/test_dellscapi.py
cinder/tests/unit/test_emc_vmax.py
cinder/tests/unit/test_emc_xtremio.py
cinder/tests/unit/test_eqlx.py
cinder/tests/unit/test_exception.py
cinder/tests/unit/test_gpfs.py
cinder/tests/unit/test_hitachi_hbsd_horcm_fc.py
cinder/tests/unit/test_hitachi_hbsd_snm2_fc.py
cinder/tests/unit/test_hitachi_hbsd_snm2_iscsi.py
cinder/tests/unit/test_hitachi_hnas_backend.py
cinder/tests/unit/test_hitachi_hnas_iscsi.py
cinder/tests/unit/test_hitachi_hnas_nfs.py
cinder/tests/unit/test_hp3par.py
cinder/tests/unit/test_hplefthand.py
cinder/tests/unit/test_ibmnas.py
cinder/tests/unit/test_image_utils.py
cinder/tests/unit/test_netapp.py
cinder/tests/unit/test_netapp_eseries_iscsi.py
cinder/tests/unit/test_netapp_nfs.py
cinder/tests/unit/test_netapp_ssc.py
cinder/tests/unit/test_qos_specs.py
cinder/tests/unit/test_quota.py
cinder/tests/unit/test_rbd.py
cinder/tests/unit/test_replication.py
cinder/tests/unit/test_scality.py
cinder/tests/unit/test_smbfs.py
cinder/tests/unit/test_solidfire.py
cinder/tests/unit/test_storwize_svc.py
cinder/tests/unit/test_utils.py
cinder/tests/unit/test_v7000_fcp.py
cinder/tests/unit/test_vmware_volumeops.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_transfer.py
cinder/tests/unit/test_volume_types.py
cinder/tests/unit/test_zfssa.py
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_api.py
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_client_cmode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_7mode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_base.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_cmode.py
cinder/tests/unit/volume/drivers/netapp/eseries/test_utils.py
cinder/tests/unit/volume/drivers/netapp/test_utils.py
cinder/tests/unit/windows/test_smbfs.py
cinder/tests/unit/zonemanager/test_brcd_fc_san_lookup_service.py
cinder/tests/unit/zonemanager/test_brcd_fc_zone_client_cli.py
cinder/tests/unit/zonemanager/test_cisco_fc_san_lookup_service.py
cinder/tests/unit/zonemanager/test_cisco_fc_zone_client_cli.py