Skip to content
Snippets Groups Projects
Commit 6464fdcb authored by Erik Reid's avatar Erik Reid
Browse files

updated unit test

parent 5f71f38e
Branches
Tags
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment