1
0
Fork 0

Adding upstream version 1.9.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 16:57:44 +01:00
parent 2bf0435a35
commit 031879240c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
356 changed files with 26924 additions and 0 deletions

View file

@ -0,0 +1,12 @@
def test_wrong_stream_type(clean_redis, cli):
clean_redis.lpush("mylist", "foo")
cli.sendline("xrange mylist 0 -1")
cli.expect("error")
cli.expect("Invalid stream ID specified as stream command argument")
def test_wrong_stream_type_in_raw_mode(clean_redis, raw_cli):
clean_redis.lpush("mylist", "foo")
raw_cli.sendline("xrange mylist 0 -1")
raw_cli.expect("ERROR")
raw_cli.expect("Invalid stream ID specified as stream command argument")