Skip to content

Commit f70cac0

Browse files
committed
more robust to git-annex glitch
1 parent 4d64c0e commit f70cac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/deploy/test_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_files_in_remote(dataset):
4949
'--not', '--in', public_sibling['name']] + wanted_opts))
5050
assert len(shared_files_missing) == 0, f"💥 Files missing in shared remote { public_sibling['name']}: \n{shared_files_missing}"
5151

52-
if public_sibling['annex-type'] == 's3' and not public_sibling.get("annex-public",None)=="yes":
52+
if public_sibling.get('annex-type') == 's3' and not public_sibling.get("annex-public",None)=="yes":
5353
assert len(os.environ.get('AWS_ACCESS_KEY_ID')) > 0, " 🗝️ missing AWS_ACCESS_KEY_ID"
5454
assert len(os.environ.get('AWS_SECRET_ACCESS_KEY')) > 0, " 🗝️ missing AWS_SECRET_ACCESS_KEY"
5555

0 commit comments

Comments
 (0)