Skip to content

Commit

Permalink
Open the full path for tests/validate_automatus_metadata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jun 12, 2024
1 parent c568529 commit 79c21ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/validate_automatus_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def main() -> int:
for test_file in test_files:
if not _test_filename_valid(test_file) != 0:
return_value = 1
with open(test_file, "r") as f:
full_path = os.path.join(args.root, test_file)
with open(full_path, "r") as f:
for line in f:
if not line.startswith("#"):
break
Expand Down

0 comments on commit 79c21ad

Please sign in to comment.