Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
MoneyPrinterTurbo Test Directory
This directory contains unit tests for the MoneyPrinterTurbo project.
Directory Structure
services/: Domain-focused unit and controller teststest_task.py: Task pipeline teststest_task_manager.py: In-memory and Redis queue teststest_controller_*.py: API controller tests split by controller domaintest_video.py,test_voice.py: Media service tests
test_main.py: Application entry-point test
Running Tests
The CI suite uses pytest, which also runs the existing unittest.TestCase
tests:
# Run all tests
uv run python -X utf8 -m pytest -q test
# Run a specific test file
uv run python -X utf8 -m pytest -q test/services/test_video.py
# Run a specific test class
uv run python -X utf8 -m pytest -q test/services/test_video.py::TestVideoService
# Run a specific test method
uv run python -X utf8 -m pytest -q test/services/test_video.py::TestVideoService::test_preprocess_video
To run the same branch coverage check used by CI:
uv run python -X utf8 -m coverage run -m pytest -q test
uv run python -m coverage report
Live provider tests are skipped by default. To run tests that may call external
TTS or LLM services, set MPT_RUN_INTEGRATION_TESTS=1 and provide the required
provider credentials.
Adding New Tests
To add tests for other components, follow these guidelines:
- Name files
test_<domain>.pyand keep each file focused on one domain. - Split broad controller suites into files such as
test_controller_video.py. - Use either pytest functions or
unittest.TestCase; pytest collects both. - Name test functions and methods with the
test_prefix.
Test Resources
Place any resource files required for testing in the test/resources directory.