From caa5aedd15b81bb9109352bff2c34db87e3a4393 Mon Sep 17 00:00:00 2001 From: bpinsard Date: Tue, 5 Sep 2023 11:58:13 -0400 Subject: [PATCH] check that fsck did check files --- tests/deploy/test_deploy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/deploy/test_deploy.py b/tests/deploy/test_deploy.py index faca003..19e550e 100644 --- a/tests/deploy/test_deploy.py +++ b/tests/deploy/test_deploy.py @@ -33,6 +33,7 @@ def test_files_in_remote(dataset): # check all files are in the shared remote fsck_res = ds_repo.fsck(remote=public_sibling['name'], fast=True) + assert len(fsck_res) > 0, f"git-annex fsck did not give any result, check that remote exists" fsck_fails = [fr for fr in fsck_res if not fr['success']] assert len(fsck_fails) == 0, f"git-annex fsck on {public_sibling} failed: {fsck_fails}"