Replace deprecated
timeutils.set_time_override
timeutils.set_time_overrideis deprecated causing the tests failures. Rewrites TimeFixture to mock timeutils.utcnow + timeutils.utcnow_ts directly via mock.patch.objectChange-Id: I284683d654a0e5bce344cd094be71f5a1844732d Signed-off-by: Artem Goncharov artem.goncharov@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号