openzim / openzim/python-libzim
get_entry_by_title not properly tested
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 108
- Forks
- 29
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 1
Description
Archive.get_entry_by_title() is not properly tested. We only test that incorrect value raises and that the fallback to path works but not that a valid title returns the proper entry.
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
Locate Archive.get_entry_by_title() and the existing tests covering incorrect values and path fallback. Add coverage for a valid title returning the expected entry, then run the relevant test suite and confirm that the new assertion passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100