opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Make a mock of Finngen study index resource url. #3484

Closed project-defiant closed 1 month ago

project-defiant commented 1 month ago

Describe the bug Gentropy tests fail when running tests/gentropy/datasource/finngen/test_finngen_study_index.py::test_finngen_study_index_from_source. This is due to the fact that API may be not responsive enough. Observed behaviour A clear and concise description of what happened.

Expected behaviour A clear and concise description of what you expected to happen. Test fail in CI as reported in https://github.com/opentargets/gentropy/actions/runs/10906882638/job/30269190434?pr=766 To Reproduce Non deterministic Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Additional context Add any other context about the problem here.

project-defiant commented 1 month ago

@d0choa adding you, as it's a good to do thing, as it can decrease our test failure rate in the CI