Skip to content

Add utils, CLI and config tests#56

Open
polyedr wants to merge 1 commit into
CyberAgentAILab:mainfrom
polyedr:add-basic-tests
Open

Add utils, CLI and config tests#56
polyedr wants to merge 1 commit into
CyberAgentAILab:mainfrom
polyedr:add-basic-tests

Conversation

@polyedr
Copy link
Copy Markdown
Contributor

@polyedr polyedr commented Aug 26, 2025

This PR adds a small set of basic tests to improve reliability:

  • utils: ensure save_videos_from_pil writes a valid GIF file
  • utils: ensure download_files_from_repo triggers snapshot_download when needed
  • CLI: check that "python -m tango --help" runs successfully and prints usage
  • config: verify that a simple YAML config can be loaded without errors

These tests are simple, fast, and help catch regressions early.
No functional changes to the codebase.

These tests are written using pytest.
To run them locally:

pip install pytest
python -m pytest -q

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