Skip to content

Commit

Permalink
Incorporate model prefix into generated test filenames.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Mar 24, 2024
1 parent 9c546ea commit e2824b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coverup/coverup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def positive_int(value):
def test_file_path(test_seq: int) -> Path:
"""Returns the Path for a test's file, given its sequence number."""
global args
return args.tests_dir / f"test_{PREFIX}_{test_seq}.py"
return args.tests_dir / f"test_{PREFIX}_{args.model.split('/')[0]}_{test_seq}.py"


test_seq = 1
Expand Down

0 comments on commit e2824b4

Please sign in to comment.