astrodbtoolkit / astrodbtoolkit/astrodb_utils
Figure out how to test when no internet connection
Open
low priority
tests
- Dominant language
- Python
- Stars
- 0
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Various functions behave different with/without internet. E.g., to use SIMBAD or ADS. Figure out how to mock no internet so these can be tested.
Maybe use [pytest-socket](https://pypi.org/project/pytest-socket/)?
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the functions that interact with SIMBAD or ADS and compare their current test coverage with pytest-socket's approach to blocking network access. Done means the relevant online and no-internet behaviors can be tested reliably without making real network requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100