summaryrefslogtreecommitdiffstats
path: root/tests/cli_tests/test_command_restore.py
blob: 1c34405bfef11b3b7f14de34a2cca7e99bf3a991 (plain)
1
2
3
4
5
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"')