From c7e77f10f3422e921113b6f1f15c52d0d542f7ed Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Wed, 27 Nov 2024 22:23:34 +0100 Subject: [PATCH] tests: Add an asertion for backup tests --- tests/test_npbackup-cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_npbackup-cli.py b/tests/test_npbackup-cli.py index f8019d7..35ecb37 100644 --- a/tests/test_npbackup-cli.py +++ b/tests/test_npbackup-cli.py @@ -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():