Skip to content

Commit c6166aa

Browse files
committed
codegen too
1 parent 26d4421 commit c6166aa

File tree

1 file changed

+1
-1
lines changed
  • key-value/key-value-sync/tests/code_gen/stores

1 file changed

+1
-1
lines changed

key-value/key-value-sync/tests/code_gen/stores/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_put_ttl_get_ttl(self, store: BaseStore):
171171

172172
assert value == {"test": "test"}
173173
assert ttl is not None
174-
assert ttl == IsFloat(approx=100), f"TTL should be ~100, but is {ttl}"
174+
assert ttl == IsFloat(approx=100, delta=2), f"TTL should be ~100, but is {ttl}"
175175

176176
def test_negative_ttl(self, store: BaseStore):
177177
"""Tests that a negative ttl will return None when getting the key."""

0 commit comments

Comments
 (0)