From f337d15b03b8252dffef7897fe62d55400a1a5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Wed, 8 Nov 2017 16:25:20 +0100 Subject: [PATCH] fix check backup is incremental path refs #23246 --- 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 6374abaf..f44dda19 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -85,7 +85,7 @@ def check_backup_is_incremental(path): for d in dirs: num_folders = 0 - if os.path.isdir(d): + if os.path.isdir(os.path.join(path, d)): media = glob.glob(os.path.join(path, d, "*/msinstance/media/resources/")) for m in media: num_folders += len(os.listdir(m)) -- GitLab