Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some pytest tests #3

Closed
4 tasks done
ljdursi opened this issue Jun 3, 2019 · 1 comment
Closed
4 tasks done

Add some pytest tests #3

ljdursi opened this issue Jun 3, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ljdursi
Copy link
Contributor

ljdursi commented Jun 3, 2019

Using pytest, create a small test suite using another client to successfully pull down slices off the packaged data:

  • Should successfully pull some prescribed slices of both VCFs and BAMs, showing no difference from tabix-extracted subset
  • Should successfully pull entire file if no start/end given,
  • Should fail with the expected error if request is given for a data file which doesn't exist
  • Should fail with the expected error on malformed request (e.g., end < start)
@ljdursi ljdursi mentioned this issue Jun 3, 2019
@ljdursi ljdursi added the enhancement New feature or request label Jun 3, 2019
@zhengwin
Copy link
Contributor

/home/jackson/Documents/GitHub/htsget_app/tests/test_htsget_server.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants