Remove deletion logic duplication

This commit is contained in:
Serhii Charykov 2022-04-27 20:11:44 +03:00
parent 0ae8ef882e
commit 838a712d57

View file

@ -51,4 +51,3 @@ def cleanup_keys(request):
# Delete keys only once # Delete keys only once
if conn.decr(once_key) == 0: if conn.decr(once_key) == 0:
_delete_test_keys(TEST_PREFIX, conn) _delete_test_keys(TEST_PREFIX, conn)
conn.delete(once_key)