Skip to content

Commit

Permalink
Merge pull request #275 from CanDIG/daisieh/smaller-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh authored Nov 9, 2023
2 parents 4000fa3 + 460039e commit 8b42ea6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Binary file modified data/files/NA18537.vcf.gz
Binary file not shown.
Binary file modified data/files/NA18537.vcf.gz.tbi
Binary file not shown.
10 changes: 3 additions & 7 deletions tests/test_htsget_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,19 +321,15 @@ def test_invalid_start_end(start, end):
def existent_file_test_data():
return [
('NA18537', 'variants',
{'referenceName': 21, 'start': 10235878, 'end': 45412368},
{'referenceName': 21, 'start': 10002800, 'end': 10050000},
200),
('NA18537', 'variants',
{'referenceName': 21},
200),
('NA18537', 'variants',
{'start': 10235878, 'end': 45412368},
{'start': 10002800, 'end': 10050000},
200),
('NA18537', 'variants', {}, 200),
('NA20787', 'variants', {}, 200),
('NA20787', 'variants',
{'referenceName': 21},
200),
('HG203245', 'variants', {}, 404)
]

Expand Down Expand Up @@ -364,7 +360,7 @@ def pull_slices_data():
"start": 0, "end": 1260000}, 'sample.compressed', ".vcf.gz", "variant", 2),
({}, 'sample.compressed', ".vcf.gz", "variant", 9),
({"referenceName": "21",
"start": 9410000, "end": 9420000}, 'NA18537', ".vcf.gz", "variant", 18)
"start": 10002800, "end": 10087068}, 'NA18537', ".vcf.gz", "variant", 18)
]


Expand Down

0 comments on commit 8b42ea6

Please sign in to comment.