clipwright/tests
pedro-bento 83ad1feaba
All checks were successful
CI / backend-tests (pull_request) Successful in 30s
CI / frontend-build (pull_request) Successful in 29s
refactor: move backend into the clipwright package
Restructure the 37 root-level Python modules into a proper package:
  clipwright/{core,api,pipeline,layouts,media,integrations,tools}

- Rewrite every local import (module-level and deferred) to absolute
  clipwright.<group>.<mod> form; no legacy root shims or re-exports.
- Add clipwright/core/paths.py and route fonts/assets/cookies through it.
- Entry points: uvicorn clipwright.api.app:app; jobs run as
  python -m clipwright.pipeline.main; probe as -m ...quality_probe.
- child_env() appends REPO_ROOT to PYTHONPATH so the -m workers work.
- transcribe_backends: sys.modules key now clipwright.media.scene_detection.
- Tooling: root pyproject.toml (pytest pythonpath=[.], ruff), shared
  requirements-test.txt, CI installs it, Docker PYTHONPATH=/app.
- Tests: all imports/fakes/source-scans repointed; new tests/test_package_layout.py
  enforces no root modules, docstring-only __init__, and no legacy imports.
- Docs/comments updated for the new layout.

Backend: 744 passed, 19 skipped. Frontend lint+build green.
2026-10-04 20:40:38 +01:00
..
conftest.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_active_speaker.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_ai_disclosure.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_audit_hardening.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_auto_retry.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_camera_inset.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_caption_presets.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_cleanup_live_jobs.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_clip_floor.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_clip_ready_marker.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_clip_render_order.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_clip_selection.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_deploy_drain.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_download_plan.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_edit_builder.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_ffmpeg_utils.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_filename_limits.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_frame_sampler.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_free_tools.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_gemini_block_split.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_gemini_retry.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_gemini_upload_unicode_name.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_generation_controls.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_hook_grounding.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_hook_layers.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_hooks.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_layout_picker.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_layout_ranges.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_llm_backend.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_media_path_guard.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_no_blocking_http_in_async.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_package_layout.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_panel_layout.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_phantom_clips.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_postiz.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_process_handover.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_punch_in.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_recut.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_reframe_endpoint.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_reframe_v2.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_rerender_endpoint.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_restoring_static.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_scene_cut_reset.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_screencast_layout.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_short_source_gate.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_source_access.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_sparse_speech.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_speaker_tracker.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_split_layout.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_ssrf_guard.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_subtitles.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_thumbnail_studio.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_transcribe_backends.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_transcript_checkpoint.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_watermark_delivery.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_youtube_non_video_urls.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00
test_yt_clients.py refactor: move backend into the clipwright package 2026-10-04 20:40:38 +01:00