]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Removes use of timeutils.set_time_override
authorZhongyue Luo <zhongyue.nah@intel.com>
Fri, 7 Feb 2014 04:43:58 +0000 (12:43 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Wed, 12 Feb 2014 08:48:37 +0000 (16:48 +0800)
commite3eb709b08e52e24cd7e3225a73154efc62ba9fa
tree5a170defa33f1f2fe0cf73801ccf36530460e89c
parente6d91ed83acc7bcc9a389e827f04270392dc640c
Removes use of timeutils.set_time_override

The set_time_override function in timeutils was written as a
helper function to mock utcnow for unittests before 'mock' was
generally used. Now that we have mock and fixture, we no longer
need to use it.

Change-Id: I057d4bc3a8b1d4e96e6830cd3071dc96a05496dc
Partial-Bug: #1266962
cinder/tests/test_quota.py
cinder/tests/test_utils.py