Set up a mock GraceDB
Open
Beginner friendly
Nobody has claimed this yet.
online-overhaul
- Dominant language
- Python
- Stars
- 18
- Forks
- 28
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 7
Description
Add a MockGraceDb fixture to online/tests/conftest.py to enable unit testing of event_creation_subprocess, amplfi_subprocess, and pastro_subprocess without live GraceDB access.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with online/tests/conftest.py and inspect how event_creation_subprocess, amplfi_subprocess, and pastro_subprocess access GraceDB. Add the MockGraceDb fixture there, then run the related unit tests and confirm they no longer require live GraceDB access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 74/100