From 838a712d57ac4bd9f83f68a469df008c8b5d4485 Mon Sep 17 00:00:00 2001 From: Serhii Charykov Date: Wed, 27 Apr 2022 20:11:44 +0300 Subject: [PATCH] Remove deletion logic duplication --- tests/conftest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index d14f0a5..bd530bb 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,4 +51,3 @@ def cleanup_keys(request): # Delete keys only once if conn.decr(once_key) == 0: _delete_test_keys(TEST_PREFIX, conn) - conn.delete(once_key)