Remove timeutils.clear_time_override in neutron

The clear_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: I7baa623fd71a7d03acc61dd1f18287bb654539cd
Partial-Bug: #1266962
This commit is contained in:
Luong Anh Tuan 2016-11-08 13:24:55 +07:00
parent 70462de005
commit 5805a075b5
1 changed files with 0 additions and 1 deletions

View File

@ -130,7 +130,6 @@ class TestMeteringOperations(base.BaseTestCase):
now = timeutils.utcnow()
time_fixture = self.useFixture(utils_fixture.TimeFixture(now))
self.addCleanup(timeutils.clear_time_override)
self.agent.routers_updated(None, ROUTERS)