From 239b32d5fc595f1483fc067fd38f719a38356924 Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Wed, 10 Oct 2018 15:45:30 +0200 Subject: [PATCH] fix(tests): remove useless infromation --- tests/test_backup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_backup.py b/tests/test_backup.py index ade4c970..b58ca0c8 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -135,11 +135,7 @@ def check_local_backup(path: str) -> bool: now = datetime.now() diff_seconds = (now - date).total_seconds() if diff_seconds > MAX_AGE * 24 * 3600: - u.error( - "Backup {} is older than {}d (%{}h)".format( - backup_folder, MAX_AGE, diff_seconds / 3600 - ) - ) + u.error("Backup {} is older than {} days".format(backup_folder, MAX_AGE)) all_ok = False else: u.success("Backup {} is fine".format(backup_folder)) -- GitLab