astrodbtoolkit / astrodbtoolkit/astrodb_utils

Figure out how to test when no internet connection

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.