Skip to content

Comments

Migrate test_locate_region from integration tests to anoph test suite#893

Open
GitGautamHub wants to merge 4 commits intomalariagen:masterfrom
GitGautamHub:migrate-test-amin1-locate-region
Open

Migrate test_locate_region from integration tests to anoph test suite#893
GitGautamHub wants to merge 4 commits intomalariagen:masterfrom
GitGautamHub:migrate-test-amin1-locate-region

Conversation

@GitGautamHub
Copy link

Migrated test_locate_region test from tests/integration/test_amin1.py to tests/anoph/test_base.py.

Changes:

  • Added test_locate_region() function to tests/anoph/test_base.py using simulated data fixtures
  • Created amin1_sim_api_snp fixture for SNP data capabilities
  • Updated TODO comment in original test file to note migration
  • Test now uses genome_features() instead of deprecated geneset() method

Benefits:

  • Faster execution (no GCS access required)
  • Uses modern test framework with simulated data
  • Tests same functionality with dynamic data

Test passes: pytest tests/anoph/test_base.py::test_locate_region

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants