Skip to content

test : added pytest unit tests for text_sanitizer utility#1895

Open
tmdeveloper007 wants to merge 1 commit into
gopaljilab:mainfrom
tmdeveloper007:#1890
Open

test : added pytest unit tests for text_sanitizer utility#1895
tmdeveloper007 wants to merge 1 commit into
gopaljilab:mainfrom
tmdeveloper007:#1890

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Closes #1890.

Summary of What Has Been Done:
Added TestDecodeBytes (7 cases) and TestNormalizeUnicodePreservingSubSuper (6 cases) to the existing tests/test_text_sanitizer.py. These augment the pre-existing TestTextSanitizer suite. Total 26 tests pass.

Changes Made:

  • tests/test_text_sanitizer.py: added decode_bytes and normalize_unicode_preserving_sub_super test classes

Impact it Made:

  • 13 new pytest cases covering UTF-8/CP1252/Latin-1 decoding, BOM stripping, NFKC normalization, subscript/superscript preservation

Note: Please assign this PR to the tmdeveloper007 account.

…eserving_sub_super

Add TestDecodeBytes (7 cases) and
TestNormalizeUnicodePreservingSubSuper (6 cases) to the
existing test_text_sanitizer.py. Covers UTF-8/CP1252/Latin-1
decoding, BOM handling, NFKC normalization, and subscript/
superscript preservation. Total 26 tests pass.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@tmdeveloper007 is attempting to deploy a commit to the gopaljilab's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the type:testing Adding, updating, or fixing unit/integration tests. label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:testing Adding, updating, or fixing unit/integration tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test : add pytest unit tests for text_sanitizer utility

1 participant