diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-04 18:52:12 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-04 18:52:12 +0000 |
commit | a596894f2d782b9df54c026696e55da1267f7936 (patch) | |
tree | e2696ad38feb91700ac875966e6aa0b30e732566 /tests/cli_tests/test_command_restore.py | |
parent | Adding upstream version 1.13.1. (diff) | |
download | iredis-a596894f2d782b9df54c026696e55da1267f7936.tar.xz iredis-a596894f2d782b9df54c026696e55da1267f7936.zip |
Adding upstream version 1.14.0.upstream/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"') |