Add linted change
This commit is contained in:
parent
a0f10cc056
commit
5dee757041
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ def cleanup_keys(request):
|
||||||
# Always use the sync Redis connection with finalizer. Setting up an
|
# Always use the sync Redis connection with finalizer. Setting up an
|
||||||
# async finalizer should work, but I'm not suer how yet!
|
# async finalizer should work, but I'm not suer how yet!
|
||||||
from redis_om.connections import get_redis_connection as get_sync_redis
|
from redis_om.connections import get_redis_connection as get_sync_redis
|
||||||
|
|
||||||
_delete_test_keys(TEST_PREFIX, get_sync_redis())
|
_delete_test_keys(TEST_PREFIX, get_sync_redis())
|
||||||
|
|
||||||
request.addfinalizer(cleanup_keys)
|
request.addfinalizer(cleanup_keys)
|
||||||
|
|
Loading…
Reference in a new issue