Use a fixture and the mocking functions provided in oslo.utils.timeutils rather than mocking the function directly. This broke when the functions moved. Change-Id: I65b6ae58c6b4e02e235f992c21502aa377992985 Closes-Bug: #1408838