1
0
Fork 0

Adding upstream version 1.12.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 17:09:42 +01:00
parent 3c10eca007
commit 77ff80fefe
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
17 changed files with 293 additions and 71 deletions

View file

@ -81,3 +81,11 @@ def test_connect_via_socket(fake_redis_socket):
c.expect("redis /tmp/test.sock")
c.close()
def test_iredis_start_with_prompt():
cli = pexpect.spawn("iredis --prompt '{host}abc{port}def{client_name}'", timeout=2)
cli.logfile_read = open("cli_test.log", "ab")
cli.expect("iredis")
cli.expect("127.0.0.1abc6379defNone")
cli.close()