Skip to content

Commit

Permalink
use strictredis
Browse files Browse the repository at this point in the history
  • Loading branch information
uhbrar committed Dec 8, 2023
1 parent 99f53b5 commit fa7c3b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers/redisMock.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import fakeredis.aioredis as fakeredis
import fakeredis
import gzip
import json

async def redisMock(connection_pool=None):
# Here's where I got documentation for how to do async fakeredis:
# https://github.com/cunla/fakeredis-py/issues/66#issuecomment-1316045893
redis = await fakeredis.FakeRedis()
redis = await fakeredis.FakeStrictRedis
# set up mock function
return redis

0 comments on commit fa7c3b4

Please sign in to comment.