Merging upstream version 1.12.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
efb6cb056d
commit
66b78e69ac
17 changed files with 293 additions and 71 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue