Skip to content

Commit

Permalink
Remove a bunch of assertions around the code that cached scripts (now…
Browse files Browse the repository at this point in the history
… replaced by the builtin redis client script management).
  • Loading branch information
ionelmc committed Jul 23, 2020
1 parent c684ee8 commit f33be63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_redis_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def test_simple(redis_server):
'Getting %r ...' % name,
'Got lock for %r.' % name,
'Releasing %r.' % name,
'UNLOCK_SCRIPT not cached.',
'DIED.',
)

Expand Down Expand Up @@ -208,7 +207,6 @@ def test_expire(conn):
'Getting %r ...' % name,
'Got lock for %r.' % name,
'Releasing %r.' % name,
'UNLOCK_SCRIPT not cached.',
'DIED.',
)
lock = Lock(conn, "foobar")
Expand Down Expand Up @@ -323,7 +321,6 @@ def test_no_overlap(redis_server):
wait_for_strings(proc.read, 10 * TIMEOUT, 'Getting %r ...' % name)
wait_for_strings(proc.read, 10 * TIMEOUT, 'Got lock for %r.' % name)
wait_for_strings(proc.read, 10 * TIMEOUT, 'Releasing %r.' % name)
wait_for_strings(proc.read, 10 * TIMEOUT, 'UNLOCK_SCRIPT not cached.')
wait_for_strings(proc.read, 10 * TIMEOUT, 'DIED.')

class Event(object):
Expand Down

0 comments on commit f33be63

Please sign in to comment.