Reviewed: https://review.openstack.org/504776 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=b263fb17b7fb613811bd80053a4d82eb7bb801d8 Submitter: Jenkins Branch: master
commit b263fb17b7fb613811bd80053a4d82eb7bb801d8 Author: zhangyangyang <email address hidden> Date: Sun Sep 17 22:15:00 2017 +0800
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: I8106c27dd839e71fa0e5140f77b098a8872999b8 Closes-Bug:#1266962
Reviewed: https:/ /review. openstack. org/504776 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=b263fb17b7f b613811bd80053a 4d82eb7bb801d8
Committed: https:/
Submitter: Jenkins
Branch: master
commit b263fb17b7fb613 811bd80053a4d82 eb7bb801d8
Author: zhangyangyang <email address hidden>
Date: Sun Sep 17 22:15:00 2017 +0800
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: I8106c27dd839e7 1fa0e5140f77b09 8a8872999b8 Bug:#1266962
Closes-