Debian Codegraph @

tests/cli_tests/test_command_restore.py

raw
1 def test_restore_command(clean_redis, cli):
2 cli.sendline(r'restore foo1 0 "\x00\x03bar\t\x006L\x18\xac\xba\xe0\x9e\xa6"')
3 cli.expect(["OK", "127.0.0.1"])
4
5 cli.sendline("get foo1")
6 cli.expect('"bar"')