]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove deprecated assert_() usage
authorZhongyue Luo <zhongyue.nah@intel.com>
Fri, 30 Aug 2013 14:12:29 +0000 (22:12 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Fri, 6 Sep 2013 01:02:50 +0000 (09:02 +0800)
commit1c12c4db4eacdb696437dbd1552c67c7541bfba5
tree008e0a88d8c6c8d1ad9a0cfda3265e18d684e37f
parentb2e66cba6d12d9ff762bbae48171d581f21ae2bc
Remove deprecated assert_() usage

The method assert_() is an alias of assertTrue() and
is deprecated since python 2.7

http://docs.python.org/2/library/unittest.html#deprecated-aliases

This removes all assert_() uses.

Change-Id: I9f55c442cc2416a7aa2dac569d1750f723d95184
cinder/tests/api/test_extensions.py
cinder/tests/test_misc.py
cinder/tests/test_policy.py
cinder/tests/test_service.py