Skip to content

get_entry_by_title not properly tested #223

Closed

Description

@rgaudin

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.

Activity

  1. added
    bug
    on Apr 29, 2025
  2. removed
    bug
    on Oct 1, 2026
  3. added theissue type on Oct 1, 2026
  4. Sriram-Nambiar commented on Oct 17, 2026

    @Sriram-Nambiar
    Contributor

    I can add a test in test_libzim_creator.py that creates an archive with an item having a distinct title and path and verifies that get_entry_by_title() properly resolves by title rather than fallback.

  5. benoit74 commented on Oct 19, 2026

    @benoit74
    Contributor

    Yes ; probably worth to test with unusual UTF-8 characters.

  6. added this to the 4.0.0 milestone on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions