cleaner to make secrets conditional on 'path' rather than 'file_paths'
@@ -65,7 +65,7 @@ def test_file_opener(
all_paths, _ = file_paths
path = str(all_paths[0])
cache = tmp_cache if use_cache else None
- secrets = "token=bar" if "?" in file_paths[0] else None
+ secrets = "token=bar" if "?" in path else None
def do_actual_test():
if cache_first:
