From 6464fdcb98f8be9c623aa0759a664c85470bbcba Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Wed, 24 Mar 2021 13:14:51 +0100 Subject: [PATCH] updated unit test --- test/test_celery_worker_global.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_celery_worker_global.py b/test/test_celery_worker_global.py index 330f8d81..ecd1d25e 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): -- GitLab