Closed steve-mavens closed 6 months ago
My actual code uses redis.asyncio.Redis (and fakeredis.aioredis.FakeRedis for testing) and has the same issue, but I wrote the minimal demonstration code using the synchronous client to see whether async was anything to do with it. Doesn't seem to be!
Describe the bug
This is a difference between fakeredis and real redis. On real redis if you call xinfo_stream for a stream name that doesn't exist, you get an exception. On fakeredis you get back dummy data.
To Reproduce
Result is:
Expected behavior
fakeredis raises exception to match real redis's behaviour
Desktop (please complete the following information):
Upvote & Fund