Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
Function
test_key_rotation_invalidates_admin_session
(key_env, monkeypatch)
tests/test_bearer_middleware.py:142
Function
test_key_rotation_invalidates_all_sessions
(store: AdminSessionStore)
tests/test_admin_sessions.py:205
Function
test_key_rotation_invalidates_attached_session_only_on_new_scope
(monkeypatch, store)
tests/test_auth_principal.py:413
Function
test_key_rotation_rejects_session_on_next_request
(monkeypatch)
tests/test_auth_session_api.py:388
Function
test_keypair_round_trips_through_raw_bytes
()
tests/test_worker_identity.py:30
Function
test_keys_by_stable_id
()
tests/test_dub_seg_path.py:14
Function
test_keys_survive_a_restart
(store, tmp_path)
tests/test_worker_inbound_keys.py:374
Function
test_kill_after_pid_reuse_does_not_signal_without_waitid
A foreign-reaped leader's reused numeric pid must not authorize killpg.
backend/tests/test_contained_subprocess_waitid_fallback.py:104
Function
test_kill_is_scoped_to_this_checkouts_build
The kill may not reach an installed /Applications copy (#1333 review). Now that ``kill_running_instances`` runs on EVERY invocation rather than
tests/test_desktop_prod_scripts.py:150
Function
test_kill_job_procs_is_idempotent
()
tests/test_dub_pipeline_state.py:80
Function
test_kill_switch_outranks_everything
(monkeypatch)
tests/test_analytics_optin.py:110
Function
test_known_404_repo_ids_absent
()
tests/test_models_catalog.py:52
Function
test_known_class_returns_url
()
tests/backend/core/test_error_docs_map.py:10
Function
test_known_producer_still_marks
(rel)
tests/test_watermark_route_coverage.py:145
Function
test_lan_ipv4_filters_loopback_and_linklocal
()
tests/test_network_share.py:13
Method
test_lang_scopes_the_plan
(self, client)
tests/test_dub_per_lang_subtitles.py:232
Function
test_language_mapping
(sc, raw, expected)
tests/test_pockettts_sidecar.py:62
Function
test_language_row_only_on_matching_language
()
tests/test_pronunciation.py:169
Function
test_language_row_overrides_global_on_same_term
()
tests/test_pronunciation.py:190
Function
test_languages_do_not_share_cache_entries
The same clip encoded for the Italian model is not the Italian model's state — the key has to carry the language.
tests/test_pockettts_sidecar.py:315
Function
test_large_model_reduces_derived_concurrency
A model bigger than the per-job budget takes the space of more than one.
tests/test_worker_capacity.py:47
Function
test_large_tensor_weight_passes
(tmp_path)
tests/test_mm2_lifecycle.py:201
Function
test_larger_cards_still_parallelize
()
tests/test_gpu_worker_sizing.py:25
Function
test_last_error_cleared_after_recovery
First call raises → last_error populated. Second call returns ok → last_error cleared. The field must reflect MOST-RECENT failure, not stale.
tests/backend/services/test_tts_backend_registry.py:236
Function
test_last_segment_absorbs_tail_to_video_end
()
tests/test_fit_planner.py:183
Function
test_last_segment_borrows_capped_tail
()
tests/test_duration_planner.py:181
Function
test_latched_reason_is_sanitized
(monkeypatch)
tests/test_flashinfer_optin.py:63
Function
test_late_result_from_a_lost_attempt_still_commits
The work was really done. Throwing it away wastes a finished dub.
tests/test_worker_lifecycle.py:132
Function
test_latency_for_an_unknown_worker_is_ignored
()
tests/test_worker_capacity.py:320
Function
test_latency_tracks_a_link_that_degrades
()
tests/test_worker_capacity.py:309
Function
test_latest_backup_reports_newest
(tmp_path)
tests/test_db_backup.py:119
Function
test_latin_basics
(raw, polished)
tests/test_text_polish.py:30
Function
test_latin_chunking_is_unchanged
()
tests/test_chunked_tts_dense_script.py:48
Function
test_launchpad_spec_against_fakepage
(probe_report)
tests/probe/test_probe_web.py:159
Function
test_layers_have_specs_detects_gap
()
tests/probe/test_probe_coverage.py:27
Function
test_lazy_builds_standalone_pipeline
No preloaded pipe → build a standalone transformers ASR pipeline, with no call into the TTS model loader (get_model).
tests/test_pytorch_whisper_fallback.py:38
Function
test_lazy_exports_still_resolve
`from omnivoice import OmniVoice` must behave exactly as before — only the timing of the heavy import changed.
tests/test_omnivoice_lazy_model_import.py:61
Function
test_lazy_sample_renders_on_first_audio_request
A pending design sample is materialized on first /audio request.
tests/test_profile_design_save_decouple.py:121
Function
test_leading_marker_yields_empty_first_span
()
tests/test_pause_markers.py:42
Function
test_lease_is_released_even_if_the_session_raises
()
tests/test_capture_asr_idle_release.py:93
Function
test_least_busy_is_the_default
()
tests/test_worker_scheduler.py:336
Function
test_leaves_unchanged
(language, raw)
tests/test_text_normalization.py:152
Function
test_legacy_cache_ignored_once_job_has_another_language
A multi-track job's un-keyed files hold whichever language wrote them last — ambiguous, so they must never be spliced into a track again.
tests/test_redub_incremental.py:394
Method
test_legacy_call_without_kwargs_still_picks_long_slice
(self)
tests/test_speaker_clone_purity.py:91
Function
test_legacy_capability_without_display_name_still_decodes
()
tests/test_worker_transport.py:328
Function
test_legacy_cookie_migrates_once_with_same_origin_csrf
()
tests/test_auth_session_api.py:401
Function
test_legacy_cookie_migration_fails_without_exact_origin
(origin)
tests/test_auth_session_api.py:444
Function
test_legacy_disconnect_still_finalizes
Closing the socket without EOF should still deliver final (legacy path).
tests/test_capture_ws.py:181
Function
test_legacy_flat_seg_hashes_attributed_to_last_generated_language
()
tests/test_redub_incremental.py:457
Method
test_legacy_job_without_segments_i18n_falls_back
Jobs written by previous builds lack segments_i18n entirely.
tests/test_dub_per_lang_subtitles.py:143
Function
test_legacy_kill_fallback_uses_only_direct_stable_handle
(monkeypatch)
tests/test_sidecar_install.py:288
Function
test_legacy_loopback_guard_allows_authenticated_server_mode_mutation
(monkeypatch)
tests/test_loopback_server_mode.py:204
Function
test_legacy_loopback_guard_fails_closed_for_server_mode_mutations
A stale route guard must not reopen writes in a bare Docker server. ``require_admin`` is the explicit dependency for privileged routers, but
tests/test_loopback_server_mode.py:186
Function
test_legacy_mirror_rollback_failure_stays_stopped
(monkeypatch, tmp_path)
tests/test_worker_agent.py:1150
Function
test_legacy_positive_absence_without_repo_ids_stops_before_submit
Phase-4 peers predate repo_ids but still positively report absence.
tests/test_gpu_gateway.py:347
Function
test_legacy_replacement_token_moves_a_non_revoked_worker
An unmarked legacy volume can still adopt a distinct control plane.
tests/test_worker_agent.py:734
Function
test_legacy_same_environment_token_stays_unredeemed_after_key_reconnect
Upgrade a legacy Compose volume without spending its old token again.
tests/test_worker_agent.py:483
Function
test_legacy_same_origin_fresh_token_recovers_after_key_auth_fails
A reset control plane can redeem an indistinguishable fresh token once.
tests/test_worker_agent.py:540
Function
test_legacy_saved_connection_is_migrated_out_of_settings
(store, monkeypatch)
tests/test_worker_inbound_keys.py:454
Function
test_legacy_seg_cache_gate
()
tests/test_redub_incremental.py:472
Function
test_legacy_single_track_job_still_hits_its_old_cache
On-disk back-compat: a job rendered by previous builds only has un-keyed seg_{id}.wav files. With a single language on the job they are unambi
tests/test_redub_incremental.py:376
Method
test_legacy_stretch_video_entry_resolves_with_kind
(self)
tests/test_smart_fit_export.py:110
Function
test_legacy_token_recovers_after_key_session_then_control_plane_reset
Key success cannot spend the fallback needed by a later database reset.
tests/test_worker_agent.py:629
Function
test_legacy_transcribe_endpoint_accepts_num_speakers
POST /dub/transcribe/{job_id} (the CLI's endpoint) exposes the same optional num_speakers query parameter as the SSE stream. Pre-fix the legac
tests/test_speaker_hint.py:276
Function
test_legacy_translate_base_url_maps_to_custom
(lp, monkeypatch)
tests/test_llm_providers.py:136
Method
test_legacy_wins_when_job_strategy_is_stretch_video
(self)
tests/test_smart_fit_export.py:133
Function
test_legacy_worker_missing_weights_returns_typed_409_before_submit
An older peer's positive absence still reaches the HTTP download offer.
tests/test_generation_remote_routing.py:498
Function
test_legitimate_expansion_accepted
(monkeypatch)
tests/test_autofit_838.py:101
Function
test_library_lists_only_finished_longform
()
tests/test_longform_jobs.py:77
Function
test_library_never_raises_on_bad_callables
()
tests/test_longform_jobs.py:150
Function
test_library_newest_first
()
tests/test_longform_jobs.py:125
Function
test_library_respects_limit
()
tests/test_longform_jobs.py:139
Function
test_library_skips_done_job_without_output
()
tests/test_longform_jobs.py:117
Function
test_libsndfile_failure_has_a_docs_class_and_hint
()
tests/test_synth_error_classes.py:90
Function
test_libsndfile_failure_is_named_not_called_unrecognized
(reraise)
tests/test_synth_error_classes.py:81
Function
test_license_api_accepts_pockettts_and_rejects_unknown
(settings_mod, mock_settings_store)
tests/test_pockettts_deferred.py:267
Method
test_license_failure_returns_license_sentinel
Pipeline.from_pretrained raises a 401 → caller learns it's a license issue, not a generic load failure.
tests/test_diarization_error_class.py:131
Function
test_license_gate
Until the user accepts the license, is_available() returns False with a Model Catalogue → Engines hint. After accept, it flips True.
tests/test_supertonic3.py:209
Function
test_license_gate_fails_closed_then_allows_engine
(monkeypatch, mock_settings_store)
tests/test_pockettts_deferred.py:55
Function
test_license_gate_fails_closed_when_settings_read_fails
(monkeypatch)
tests/test_pockettts_deferred.py:196
Function
test_lifespan_shutdown_mid_load_is_clean_and_clears_sentinel
SIGTERM (lifespan shutdown) while a model load is in flight on a GPU-pool thread: the shutdown must complete, flip the model_manager into shut
backend/tests/test_model_load_shutdown.py:310
Function
test_limit_versions_caps_output
()
tests/test_changelog_parse.py:94
Function
test_link_repair_runs_at_most_once_per_repo
Retry-once guard: when the cache stays broken after a 'successful' repair, the second load failure must NOT re-trigger the link repair — it fa
tests/test_hf_cache_repair.py:379
Function
test_linter_accepts_quiet_sample_and_grandfathers_old_sections
()
tests/test_changelog_style.py:192
Function
test_linter_flags_missing_highlights
()
tests/test_changelog_style.py:196
Function
test_linter_flags_missing_ref_only_where_required
()
tests/test_changelog_style.py:231
Function
test_linter_flags_overlong_entry
()
tests/test_changelog_style.py:212
Function
test_linter_flags_paragraph_between_entries
()
tests/test_changelog_style.py:222
Function
test_linter_flags_wrapped_multiline_entry
()
tests/test_changelog_style.py:202
Function
test_linter_scopes_by_date_not_position
A post-epoch release is linted; the first pre-epoch one ends the scope.
tests/test_changelog_style.py:241
Function
test_linux_arm_build_falls_back_to_cpu
( tmp_path, prerequisites, fail_configure, fail_build )
tests/test_gguf_source_build_runtime_1348.py:238
Function
test_linux_extracted_appimage_and_backend_are_stopped_before_wipe
Extraction hides the checkout path from argv, but APPIMAGE survives. Reproduce the production failure with a fake procfs: the Tauri process and
tests/test_desktop_prod_scripts.py:190
Function
test_linux_install_docs_name_the_required_runtime_packages
()
tests/test_desktop_runtime_preflight.py:78
Function
test_linux_pid_reuse_is_rejected_after_environment_read
(tmp_path)
tests/test_desktop_prod_scripts.py:314
Function
test_linux_process_stop_executes_before_data_wipe
Execute the shell with controlled commands and record the true order.
tests/test_desktop_prod_scripts.py:245
Function
test_linux_rejected_before_import
()
tests/test_mlx_supported.py:49
Function
test_list_active_returns_only_live_statuses
()
tests/test_job_store.py:100
Function
test_list_and_delete
(db)
tests/test_mcp_bindings.py:60
Function
test_list_backends_flags_indextts2_one_click
Fail-before/pass-after: the Settings UI keys the Install button off this field — without it the engine stays a manual setup_snippet.
tests/test_sidecar_install.py:801
Function
test_list_backends_includes_indextts_with_subprocess_isolation_mode
list_backends() reports indextts2 with isolation_mode='subprocess'.
tests/backend/services/test_indextts_sidecar.py:154
← previous
next →
11,801–11,900 of 15,058, ranked by callers