Repository navigation
Add tests for indexdata helper functions - #275
Merged
Merged
Conversation
Contributor
|
@Sriram-Nambiar please rebase on main and force push with lease, so that we have tests running on this PR |
Sriram-Nambiar
force-pushed
the
test-indexdata-helpers
branch
from
October 22, 2026 13:11
efea449 to
1bbd898
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #275 +/- ##
==========================================
+ Coverage 94.33% 94.83% +0.50%
==========================================
Files 1 1
Lines 600 600
==========================================
+ Hits 566 569 +3
+ Misses 34 31 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
@Sriram-Nambiar please fix linting |
Sriram-Nambiar
force-pushed
the
test-indexdata-helpers
branch
from
October 22, 2026 13:58
1bbd898 to
2555377
Compare
Contributor
|
Is this ready for a new review? |
benoit74
force-pushed
the
test-indexdata-helpers
branch
from
October 25, 2026 17:37
2555377 to
a4fef1a
Compare
pawank925
pushed a commit
to pawank925/python-libzim
that referenced
this pull request
Oct 28, 2026
…pers Add tests for indexdata helper functions
pawank925
added a commit
to pawank925/python-libzim
that referenced
this pull request
Oct 28, 2026
…pers Add tests for indexdata helper functions
pawank925
added a commit
to pawank925/python-libzim
that referenced
this pull request
Oct 28, 2026
…pers Add tests for indexdata helper functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #154.
Adds unit tests for the internal indexdata Cython helper functions in
test_libzim_creator.py:get_geoposition()with custom coordinates(lat, lon)and customget_wordcount().get_indexdata,has_indexdata,get_wordcount, andget_geoposition.