Skip to content

Commit

Permalink
fix flakey test for 'find_vcf_files' - looking for multiple OK files
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmarzouk committed Dec 5, 2023
1 parent 7f4999f commit 276418b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/units/test_anno_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def test_multi_file_ok(tmp_path):
for p in vcf_paths:
p.touch()

assert anno_utils.find_vcf_files(tmp_path) == vcf_paths
expected = sorted(vcf_paths)
found = sorted(anno_utils.find_vcf_files(tmp_path))

assert expected == found

@staticmethod
def test_some_files_ok(tmp_path):
Expand Down

0 comments on commit 276418b

Please sign in to comment.