File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ def test_files_in_remote(dataset):
3636
3737 # check that shared files are listed on the share remote
3838 for public_sibling in public_siblings :
39- logger .info (f"⏳️ checking file availability in { public_sibling } " )
39+ logger .info (f"⏳️ checking file availability in { public_sibling ['name' ]} " )
40+ logger .debug (public_sibling ['name' ])
4041 sibling_wanted = public_sibling .get ('annex-wanted' )
4142 if sibling_wanted == 'groupwanted' :
4243 sibling_group = ds_repo .call_annex_oneline (['group' , public_sibling ['name' ]])
@@ -48,6 +49,11 @@ def test_files_in_remote(dataset):
4849 '--not' , '--in' , public_sibling ['name' ]] + wanted_opts ))
4950 assert len (shared_files_missing ) == 0 , f"💥 Files missing in shared remote { public_sibling ['name' ]} : \n { shared_files_missing } "
5051
52+ if public_sibling ['annex-type' ] == 's3' and not public_sibling .get ("annex-public" ,None )== "yes" :
53+ assert 'AWS_ACCESS_KEY_ID' in os .environ , " 🗝️ missing AWS_ACCESS_KEY_ID"
54+ assert 'AWS_SECRET_ACCESS_KEY' in os .environ , " 🗝️ missing AWS_SECRET_ACCESS_KEY"
55+
56+
5157 # check all files are in the shared remote
5258 fsck_res = ds_repo .fsck (remote = public_sibling ['name' ], fast = True )
5359 assert len (fsck_res ) > 0 , f"❓️git-annex fsck did not give any result, check that remote exists"
You can’t perform that action at this time.
0 commit comments