Skip to content

test: add basic samples for gif pickle powershell and ttf#1394

Open
MukundaKatta wants to merge 1 commit into
google:mainfrom
MukundaKatta:codex/magika-basic-samples-662
Open

test: add basic samples for gif pickle powershell and ttf#1394
MukundaKatta wants to merge 1 commit into
google:mainfrom
MukundaKatta:codex/magika-basic-samples-662

Conversation

@MukundaKatta

Copy link
Copy Markdown

Summary

Sample provenance

  • gif/sample.gif: hand-authored minimal 1x1 GIF89a image.
  • pickle/sample.pkl: hand-authored protocol 0 pickle containing a tiny dictionary/list payload.
  • powershell/sample.ps1: hand-authored minimal PowerShell script.
  • ttf/sample.ttf: subset generated from the OFL-licensed Lato Regular font bundled with Ruby RDoc darkfish templates, reduced to the glyph A with fontTools.subset.

Refs #662.

Validation

  • uv run --project python magika --json tests_data/basic/gif/sample.gif tests_data/basic/pickle/sample.pkl tests_data/basic/powershell/sample.ps1 tests_data/basic/ttf/sample.ttf
  • uv run --project python pytest python/tests/test_magika_python_module.py -q

@MukundaKatta MukundaKatta marked this pull request as ready for review May 15, 2026 02:26
@MukundaKatta MukundaKatta requested a review from reyammer as a code owner May 15, 2026 02:26
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.

1 participant