diff --git a/test/test_celery_worker_global.py b/test/test_celery_worker_global.py index 330f8d815e4040eb06abef7d2d0594075e72e41c..ecd1d25e192ecaa06ee4528684292366a8472e2a 100644 --- a/test/test_celery_worker_global.py +++ b/test/test_celery_worker_global.py @@ -77,7 +77,7 @@ def test_next_redis(data_config, mocked_redis): :param mocked_redis: :return: """ - common.set_latch(data_config, 10, 20) + common.set_latch(data_config, 10, 20, 100) r = common.get_next_redis(data_config) assert r @@ -85,6 +85,7 @@ def test_next_redis(data_config, mocked_redis): latch = common.get_latch(r) assert latch['current'] == 10 assert latch['next'] == 20 + assert latch['timestamp'] == 100 def test_next_redis_with_none(data_config, mocked_redis):