clipwright/tests
pedro-bento ab5cdb87a9 feat(channels): store channel profiles in local SQLite with CRUD API
Replace the committed channels/<slug>.json files as the runtime source of
truth with a local SQLite database at the repo root (clipwright.db),
overridable via CLIPWRIGHT_DB. Existing JSON profiles are imported once on
first bootstrap, then the store is authoritative.

- add clipwright/storage/channel_profiles.py (stdlib sqlite3, WAL + lock)
- add Profile/TitleRules/ThumbnailRules.to_dict() for round-tripping
- load_profile/list_profiles read the store; channels_dir stays a file seam
- /api/channels CRUD plus import/export endpoints
- untrack channels/*.json, ignore the DB files
- seed a temp DB in tests/conftest.py
2026-10-06 11:54:29 +01:00
..
e2e feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
_channel_seed.py feat(channels): store channel profiles in local SQLite with CRUD API 2026-10-06 11:54:29 +01:00
conftest.py feat(channels): store channel profiles in local SQLite with CRUD API 2026-10-06 11:54:29 +01:00
test_access_log_filter.py fix(dashboard): PUT the handoff bundle through the app's API base (#9) 2026-10-05 21:37:21 +01:00
test_active_speaker.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_ai_disclosure.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00
test_audit_hardening.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_auto_retry.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_bridge.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_bridge_endpoint.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_camera_inset.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_caption_presets.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_channels_endpoint.py feat(channels): store channel profiles in local SQLite with CRUD API 2026-10-06 11:54:29 +01:00
test_cleanup_live_jobs.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_clip_floor.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_clip_ready_marker.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_clip_render_order.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_clip_selection.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_code_layout.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_deploy_drain.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_download_plan.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_edit_builder.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_ffmpeg_utils.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00
test_filename_limits.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_frame_sampler.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_free_tools.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_gemini_block_split.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_gemini_retry.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_gemini_upload_unicode_name.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_generation_controls.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_handoff.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_handoff_api.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_hook_grounding.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_hook_layers.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_hook_start.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_hooks.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_layout_picker.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_layout_ranges.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00
test_llm_backend.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_media_path_guard.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_no_blocking_http_in_async.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_package_layout.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_phantom_clips.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_postiz.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_process_handover.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_profile_prompts.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_profiles.py feat(channels): store channel profiles in local SQLite with CRUD API 2026-10-06 11:54:29 +01:00
test_provenance.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_punch_in.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_punch_in_beats.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_recut.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_reframe_endpoint.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_reframe_v2.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_rerender_endpoint.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_restoring_static.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00
test_scene_cut_reset.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_screencast_layout.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_short_source_gate.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_source_access.py chore: drop watermark feature, CLI, docs, design.md; consolidate requirements (#6) 2026-10-05 11:11:37 +01:00
test_sparse_speech.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_speaker_tracker.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_split_layout.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_ssrf_guard.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_subtitles.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00
test_thumbnail_studio.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_title_validator.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_transcribe_backends.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_transcript_checkpoint.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_youtube_data.py feat/youtube-growth-toolkit (#8) 2026-10-05 20:33:56 +01:00
test_youtube_non_video_urls.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
test_yt_clients.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00