diff --git a/tests/unit/fakes.py b/tests/unit/fakes.py index 124cec80..4443240b 100644 --- a/tests/unit/fakes.py +++ b/tests/unit/fakes.py @@ -13,6 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. +import datetime import multiprocessing import random import re @@ -1316,6 +1317,9 @@ class FakeTimer(rally_utils.Timer): def duration(self): return 10 + def timestamp(self): + return datetime.datetime(2015, 1, 1) + @base_ctx.context("fake", order=1) class FakeContext(base_ctx.Context):