tests: Add an asertion for backup tests

This commit is contained in:
Orsiris de Jong 2024-11-27 22:23:34 +01:00
parent 20df4edc37
commit c7e77f10f3

View file

@ -110,6 +110,7 @@ def test_npbackup_cli_create_backup():
print(e)
except SystemExit:
print(str(logs))
assert "Backend finished with success" in str(logs), "Backup failed"
def test_npbackup_cli_unlock():