1
0
Fork 0
iredis/tests/cli_tests/test_command_restore.py
Daniel Baumann 9e8d2d0c6a
Adding upstream version 1.13.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 17:18:44 +01:00

6 lines
216 B
Python

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"')