internetarchive / internetarchive/openlibrary
Consolidate multiple MockSite implementations
Open
Affects: Configuration
Lead: @cdrini
Needs: Breakdown
Priority: 3
Theme: Development
Type: Refactor/Clean-up
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
We currently have multiple definitions of `MockSite` used throughout our tests; these should be consolidated where appropriate. Here are the occurrences:
**add me...**
Contributor guide
Research direction
Search the test code for all `MockSite` definitions and their usages, since the issue does not name specific files. Read each implementation and its callers first, then determine which definitions can be consolidated. Done means the appropriate test usages share consolidated mock implementation(s) without breaking the test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100