From 79cdb01115fae4a8b25bf5d4244000e96922295f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Tue, 16 May 2017 19:09:03 +0200 Subject: [PATCH] fix printed value of free space, refs #20957 --- tests/test_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_backup.py b/tests/test_backup.py index f2d2fd43..6084d5d1 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -60,7 +60,7 @@ def test_backup_space(server): print('There is less than 20% of available space for backups') return False else: - print('There is %s%% of free space' % used_perc) + print('There is %s%% of free space' % (100 - used_perc)) return True else: print('Failed to check backup space') -- GitLab