Skip to content

Commit

Permalink
add hypothesis test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe Blevins committed Aug 14, 2019
1 parent 0ff69d9 commit b0bb226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_fakeredis_hypothesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def commands(*args, **kwargs):

# TODO: all expiry-related commands
common_commands = (
commands(st.sampled_from(['del', 'persist', 'type']), keys)
commands(st.sampled_from(['del', 'persist', 'type', 'unlink']), keys)
| commands(st.just('exists'), st.lists(keys))
| commands(st.just('keys'), st.just('*'))
# Disabled for now due to redis giving wrong answers
Expand Down

0 comments on commit b0bb226

Please sign in to comment.