]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix order of arguments in assertEqual
authorappsdesh <apps.desh@gmail.com>
Tue, 28 Jul 2015 04:23:36 +0000 (21:23 -0700)
committerapoorvad <apps.desh@gmail.com>
Tue, 4 Aug 2015 02:26:08 +0000 (19:26 -0700)
commit4982812364ec600bbff55ed2b7ffd7c31737ca3b
tree228a082ff0267c34bb5b0244c794f0cc0fbaa9e7
parent94e3098238f4af32f6ffa85833d0107cab07c14c
Fix order of arguments in assertEqual

Some tests used incorrect order assertEqual(observed, expected).
The correct order expected by testtools is
assertEqual(expected, observed).

This patch does not cover v1 api tests and vendor unit tets.

Change-Id: Icb0636143cfc48d5189bcb0faa6e643f68c32f5e
Partial-Bug: #1259292
48 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_cgsnapshots.py
cinder/tests/unit/api/contrib/test_extended_snapshot_attributes.py
cinder/tests/unit/api/contrib/test_hosts.py
cinder/tests/unit/api/contrib/test_quotas_classes.py
cinder/tests/unit/api/contrib/test_scheduler_hints.py
cinder/tests/unit/api/contrib/test_services.py
cinder/tests/unit/api/contrib/test_snapshot_actions.py
cinder/tests/unit/api/contrib/test_types_extra_specs.py
cinder/tests/unit/api/contrib/test_volume_actions.py
cinder/tests/unit/api/contrib/test_volume_host_attribute.py
cinder/tests/unit/api/contrib/test_volume_manage.py
cinder/tests/unit/api/contrib/test_volume_transfer.py
cinder/tests/unit/api/contrib/test_volume_type_encryption.py
cinder/tests/unit/api/contrib/test_volume_unmanage.py
cinder/tests/unit/api/middleware/test_auth.py
cinder/tests/unit/api/middleware/test_faults.py
cinder/tests/unit/api/test_common.py
cinder/tests/unit/api/test_extensions.py
cinder/tests/unit/api/test_router.py
cinder/tests/unit/api/test_wsgi.py
cinder/tests/unit/api/test_xmlutil.py
cinder/tests/unit/api/v2/test_limits.py
cinder/tests/unit/api/v2/test_snapshots.py
cinder/tests/unit/api/v2/test_types.py
cinder/tests/unit/api/v2/test_volumes.py
cinder/tests/unit/db/test_name_id.py
cinder/tests/unit/db/test_qos_specs.py
cinder/tests/unit/db/test_transfers.py
cinder/tests/unit/image/test_glance.py
cinder/tests/unit/integrated/test_volumes.py
cinder/tests/unit/keymgr/test_key.py
cinder/tests/unit/scheduler/test_allocated_capacity_weigher.py
cinder/tests/unit/scheduler/test_host_manager.py
cinder/tests/unit/test_cmd.py
cinder/tests/unit/test_conf.py
cinder/tests/unit/test_db_api.py
cinder/tests/unit/test_nfs.py
cinder/tests/unit/test_quota.py
cinder/tests/unit/test_service.py
cinder/tests/unit/test_volume_glance_metadata.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/tests/unit/test_volume_transfer.py
cinder/tests/unit/test_volume_types.py
cinder/tests/unit/test_volume_types_extra_specs.py
cinder/tests/unit/test_volume_utils.py
cinder/tests/unit/test_wsgi.py