]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix order of arguments in assertEqual
authorchenying <ying.chen@huawei.com>
Tue, 25 Aug 2015 02:35:37 +0000 (10:35 +0800)
committerchenying <ying.chen@huawei.com>
Sat, 5 Sep 2015 07:18:22 +0000 (15:18 +0800)
commit5a2efeb6ab383e34d56a4f166c05fc3b6981dc4c
tree8c8b534879541fa39b572e705349640f71d94729
parentec127646d1a745945f26c2f5c81423425404c30d
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 tests.

Partial-Bug: #1486906
Change-Id: I4671cc75c999d22ea9c181c515c67d03b7d54c71
cinder/tests/unit/api/contrib/test_cgsnapshots.py
cinder/tests/unit/api/contrib/test_volume_image_metadata.py
cinder/tests/unit/api/contrib/test_volume_replication.py
cinder/tests/unit/api/contrib/test_volume_tenant_attribute.py
cinder/tests/unit/api/contrib/test_volume_unmanage.py
cinder/tests/unit/api/test_common.py
cinder/tests/unit/api/test_extensions.py
cinder/tests/unit/integrated/test_xml.py
cinder/tests/unit/keymgr/test_barbican.py
cinder/tests/unit/test_backup.py