Skip to content

Commit

Permalink
Unique filename
Browse files Browse the repository at this point in the history
  • Loading branch information
endast committed Nov 15, 2023
1 parent f885598 commit 29e78f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_example/test_vcf_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ def run_vcf_validator(vcf_file_path, result_path):
),
)
def test_vcf_file_validation(cli_args: tuple, tmp_path):
vcf_file_path = tmp_path / "example.vcf"
args = []
for cli_arg in cli_args:
if type(cli_arg) is list:
args += cli_arg
else:
args += [cli_arg]

vcf_file_path = tmp_path / f"example_{'_'.join(args)}.vcf"
args += ["-o", vcf_file_path]

runner.invoke(app, args=args)
Expand Down

0 comments on commit 29e78f3

Please sign in to comment.