diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-04 18:52:16 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-04 18:52:16 +0000 |
commit | 61a3777eb82896afbb2472017210c7642751ecc2 (patch) | |
tree | fbd20f88f28005e6083560ba65e0194403aa3e42 /tests/cli_tests/test_command_restore.py | |
parent | Releasing debian version 1.13.1-1. (diff) | |
download | iredis-61a3777eb82896afbb2472017210c7642751ecc2.tar.xz iredis-61a3777eb82896afbb2472017210c7642751ecc2.zip |
Merging upstream version 1.14.0.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'tests/cli_tests/test_command_restore.py')
-rw-r--r-- | tests/cli_tests/test_command_restore.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cli_tests/test_command_restore.py b/tests/cli_tests/test_command_restore.py new file mode 100644 index 0000000..1c34405 --- /dev/null +++ b/tests/cli_tests/test_command_restore.py @@ -0,0 +1,6 @@ +def test_restore_command(clean_redis, cli): + cli.sendline(r'restore foo1 0 "\x00\x03bar\t\x006L\x18\xac\xba\xe0\x9e\xa6"') + cli.expect(["OK", "127.0.0.1"]) + + cli.sendline("get foo1") + cli.expect('"bar"') |