We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When zadd is called with no member-score pairs, FakeStrictRedis returns 0 but StrictRedis raises an exception.
Expectation: FakeStrictRedis.zadd should raise an exception when called with zero member-score pairs, to match StrictRedis.
>>> from fakeredis import FakeStrictRedis >>> from redis import StrictRedis >>> >>> fake = FakeStrictRedis() >>> real = StrictRedis(...) >>> >>> fake.zadd('foo') 0 >>> real.zadd('foo') Traceback (most recent call last): ... redis.exceptions.ResponseError: wrong number of arguments for 'zadd' command >>>
The text was updated successfully, but these errors were encountered:
e4ef13d
No branches or pull requests
When zadd is called with no member-score pairs, FakeStrictRedis returns 0 but StrictRedis raises an exception.
Expectation: FakeStrictRedis.zadd should raise an exception when called with zero member-score pairs, to match StrictRedis.
The text was updated successfully, but these errors were encountered: