Skip to content

Add tests for indexdata helper functions - #275

Open
Sriram-Nambiar wants to merge 1 commit into
openzim:mainfrom
Sriram-Nambiar:test-indexdata-helpers
Open

Sriram-Nambiar wants to merge 1 commit into
openzim:mainfrom
Sriram-Nambiar:test-indexdata-helpers

Conversation

@Sriram-Nambiar

@Sriram-Nambiar Sriram-Nambiar commented Oct 19, 2026 •

Copy link
Copy Markdown

Fixes #154.

Adds unit tests for the internal indexdata Cython helper functions in test_libzim_creator.py:

  • Tested get_geoposition() with custom coordinates (lat, lon) and custom get_wordcount().
  • Tested exception handling when Python raises errors inside get_indexdata, has_indexdata, get_wordcount, and get_geoposition.

@rgaudin
rgaudin requested a review from benoit74 October 20, 2026 08:36

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test indexdata helper functions

1 participant