@@ -54,11 +54,11 @@ def test_backup(host):
database_dump = host.file('/srv/backup/slapd.bak')
assert database_dump.is_file
assert 'dn: dc=local' in database_dump.content
assert 'dn: dc=local' in database_dump.content_string
restore_run = host.run('duply main restore /root/restore')
assert restore_run.rc == 0
restored_database_dump = host.file('/root/restore/srv/backup/slapd.bak')
assert restored_database_dump.is_file
assert restored_database_dump.content == database_dump.content
assert restored_database_dump.content_string == database_dump.content_string