From 02a04a2335701bfc8d6a1087338f58e9f37ceb52 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 17 Jul 2021 09:34:44 +0200 Subject: Adding upstream version 1.9.4. Signed-off-by: Daniel Baumann --- tests/cli_tests/test_shell_pipeline.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/cli_tests/test_shell_pipeline.py') diff --git a/tests/cli_tests/test_shell_pipeline.py b/tests/cli_tests/test_shell_pipeline.py index 4bacf8d..8fe5e14 100644 --- a/tests/cli_tests/test_shell_pipeline.py +++ b/tests/cli_tests/test_shell_pipeline.py @@ -9,3 +9,13 @@ def test_running_disable_shell_pipeline(): cli.sendline("get foo | grep w") cli.expect(r"hello") cli.close() + + +def test_running_disable_shell_pipeline_with_decode_option(): + cli = pexpect.spawn("iredis -n 15 --decode=utf-8", timeout=2) + cli.expect("127.0.0.1") + cli.sendline("set foo hello") + cli.expect("OK") + cli.sendline("get foo | cat") + cli.expect(r"hello") + cli.close() -- cgit v1.2.3