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_serve_enable_uses_http_when_no_certs
()
tests/test_tailscale_service.py:58
Function
test_serve_enable_uses_https_when_certs_present
()
tests/test_tailscale_service.py:69
Function
test_server_accepts_the_keepalive_interval_it_configures
The server must not evict healthy idle workers for its own ping policy.
tests/test_worker_transport.py:1278
Function
test_server_builds_with_expected_tools
()
tests/test_mcp_mount.py:18
Function
test_server_down_falls_back_to_the_default
Discovery is best-effort: a local server that is not running must leave the caller exactly where it was, not raise inside a translation.
tests/test_lmstudio_model_discovery.py:120
Function
test_server_mode_admin_allowed_with_api_key_cookie_or_query
(monkeypatch)
tests/test_loopback_server_mode.py:396
Function
test_server_mode_admin_allowed_with_api_key_header
(monkeypatch)
tests/test_loopback_server_mode.py:388
Function
test_server_mode_admin_key_cannot_supply_raw_models_path
An admin key is not a native path authorization.
tests/test_models_dir_setting.py:93
Function
test_server_mode_admin_mutation_allows_api_key
(monkeypatch)
tests/test_loopback_server_mode.py:483
Function
test_server_mode_admin_mutation_requires_api_key_when_unconfigured
(monkeypatch, method)
tests/test_loopback_server_mode.py:461
Function
test_server_mode_admin_read_keeps_bare_docker_bootstrap
(monkeypatch)
tests/test_loopback_server_mode.py:469
Function
test_server_mode_admin_read_rejects_pin_only_deployment
(monkeypatch)
tests/test_loopback_server_mode.py:475
Function
test_server_mode_admin_rejects_wrong_api_key
(monkeypatch)
tests/test_loopback_server_mode.py:403
Function
test_server_mode_allows_an_unset_or_nonblank_admin_key
(monkeypatch)
tests/test_docker_admin_auth_docs.py:51
Function
test_server_mode_allows_non_loopback
(monkeypatch, val)
tests/test_loopback_server_mode.py:79
Function
test_server_mode_binding_mutations_require_api_key
(client, monkeypatch)
tests/test_mcp_bindings.py:209
Function
test_server_mode_desktop_capability_rejects_remote_api_key
(monkeypatch)
tests/test_loopback_server_mode.py:531
Function
test_server_mode_engine_health_requires_api_key
Health is a GET but can spawn a sidecar, so it is not discovery.
tests/backend/api/test_engines_route_shape.py:664
Function
test_server_mode_engine_mutations_require_api_key
(fresh_app, monkeypatch)
tests/backend/api/test_engines_route_shape.py:646
Function
test_server_mode_loopback_admin_never_needs_credential
(monkeypatch)
tests/test_loopback_server_mode.py:447
Function
test_server_mode_media_tool_mutations_require_api_key
(mt, monkeypatch)
tests/test_media_tools.py:479
Function
test_server_mode_pin_only_keeps_admin_loopback_only
(monkeypatch)
tests/test_loopback_server_mode.py:411
Function
test_server_mode_pronunciation_mutations_require_api_key
(client, monkeypatch)
tests/test_pronunciation_api.py:220
Function
test_server_mode_rejects_a_whitespace_admin_key
(monkeypatch)
tests/test_docker_admin_auth_docs.py:41
Function
test_server_mode_remote_without_api_key_cannot_create_models_dir
GHAS #440/#441: a published bare Docker port is not filesystem auth.
tests/test_models_dir_setting.py:76
Function
test_server_mode_remote_without_api_key_cannot_set_executable_path
GHAS #506: bare Docker exposure must not become an executable setter.
tests/test_api.py:603
Function
test_server_mode_side_effectful_get_accepts_api_key
(monkeypatch)
tests/test_loopback_server_mode.py:227
Function
test_server_mode_side_effectful_get_requires_api_key
(monkeypatch)
tests/test_loopback_server_mode.py:217
Function
test_server_mode_sidecar_install_stays_desktop_only
An API key cannot remotely trigger the mutable-source installer.
tests/backend/api/test_engines_route_shape.py:675
Function
test_server_mode_trusted_network_blocked_when_api_key_set
(monkeypatch)
tests/test_loopback_server_mode.py:374
Function
test_server_mode_trusted_network_no_credential_reaches_admin
(monkeypatch)
tests/test_loopback_server_mode.py:365
Function
test_server_mode_worker_mutations_require_api_key
Bare Docker discovery stays usable; its worker controls stay closed.
tests/test_worker_service_api.py:275
Function
test_server_refuses_an_occupied_control_plane_port
add_secure_port returns zero when the exclusive bind cannot be made.
tests/test_worker_transport.py:1311
Function
test_server_replies_with_its_authoritative_view
(proto)
tests/test_worker_protocol_contract.py:195
Function
test_server_restart_is_never_charged
()
tests/test_worker_breaker.py:47
Function
test_server_with_no_models_falls_back
LM Studio running with nothing loaded returns an empty list. Picking from it would be an IndexError in the request path.
tests/test_lmstudio_model_discovery.py:128
Function
test_servicer_retries_a_startup_partial_locked_by_windows
( tmp_path, monkeypatch )
tests/test_worker_upload_server.py:225
Function
test_servicer_startup_sweeps_crash_surviving_result_partials
(tmp_path)
tests/test_worker_upload_server.py:201
Function
test_session_and_worker_token_namespaces_do_not_overlap
(store: AdminSessionStore)
tests/test_admin_sessions.py:360
Function
test_session_can_mint_path_bound_ws_ticket
(path)
tests/test_auth_session_api.py:464
Function
test_session_capacity_eviction_removes_its_outstanding_tickets
(clock: FakeClock)
tests/test_admin_sessions.py:321
Function
test_session_exchange_fails_closed_when_master_is_not_configured
(monkeypatch)
tests/test_auth_session_api.py:59
Function
test_session_exchange_reaches_its_master_key_guard_before_the_pin_gate
(monkeypatch)
tests/test_network_middleware.py:58
Function
test_session_expires
()
tests/test_worker_identity.py:155
Function
test_session_is_bound_to_a_worker_and_epoch
()
tests/test_worker_identity.py:161
Function
test_session_token_uses_a_different_namespace
A worker enrollment token must never be mistakable for a session.
tests/test_worker_identity.py:118
Function
test_set_and_clear
(settings_mod)
tests/test_hf_mirror_settings.py:54
Function
test_set_creates_and_upserts
(tmp_path)
tests/test_user_env.py:17
Function
test_set_custom_path_persists_via_env_prefs_convention
(mt, monkeypatch, tmp_path)
tests/test_media_tools.py:252
Function
test_set_custom_path_rejects_control_characters
(mt)
tests/test_media_tools.py:283
Function
test_set_custom_path_rejects_missing_and_non_running_files
(mt, tmp_path, monkeypatch)
tests/test_media_tools.py:272
Function
test_set_env_allows_loopback
A TestClient explicitly constructed with client=('127.0.0.1', ...) must pass the loopback gate, mutate os.environ, and return the documented paylo
tests/test_api.py:579
Function
test_set_env_loopback_still_validates_allowlist
Even on the loopback path, keys outside the allow-list must return 400 — the new guard must NOT bypass the existing allow-list enforcement.
tests/test_api.py:652
Function
test_set_env_never_accepts_executable_path_even_with_admin_key
Executable selection exists only behind native IPC, never this API.
tests/test_api.py:627
Function
test_set_env_rejects_non_loopback
A TestClient that does NOT override `client=` sets `request.client.host = 'testclient'` (non-loopback). The router-level `require_admin` depen
tests/test_api.py:551
Function
test_set_env_share_port_accepts_valid
(monkeypatch)
tests/test_network_share.py:142
Function
test_set_env_share_port_rejects_non_numeric
()
tests/test_network_share.py:128
Function
test_set_env_share_port_rejects_out_of_range
()
tests/test_network_share.py:134
Function
test_set_persists_and_writes_durable_env
(env, tmp_path)
tests/test_models_dir_setting.py:44
Function
test_set_prefs_accepts_repo_id_and_normalizes
(client)
tests/test_dictation_router.py:89
Function
test_set_prefs_persists_and_validates
(client)
tests/test_dictation_router.py:70
Function
test_set_with_bare_filename_no_parent
(tmp_path, monkeypatch)
tests/test_user_env.py:51
Function
test_settings_reports_broken_backend_with_repair_hint
(monkeypatch)
backend/tests/test_asr_deep_import_fallback.py:79
Function
test_setup_snippet_present_for_path_gated_engines
(fresh_app)
tests/backend/api/test_engines_route_shape.py:904
Function
test_setuptools_pinned
()
tests/backend/test_pyproject.py:25
Function
test_seven_models_registered
()
tests/test_sherpa_dictation.py:131
Function
test_sha_resolves
``PINNED_REVISION_SHA`` exists on the actual HuggingFace commit log. Network-gated because it hits HF. We verify by GETting the model API at
tests/test_supertonic3.py:101
Function
test_share_listener_lifecycle
()
tests/test_network_share_lifecycle.py:76
Function
test_share_port_base_bad_env_falls_back
(monkeypatch)
tests/test_network_share.py:57
Function
test_share_port_base_defaults_to_backend_plus_one
(monkeypatch)
tests/test_network_share.py:46
Function
test_share_port_base_honors_env
(monkeypatch)
tests/test_network_share.py:52
Function
test_shared_voice_unload_failure_is_stable
(monkeypatch)
tests/test_truthful_degraded_state.py:207
Function
test_shell_paths_served_without_key
(key_env)
tests/test_bearer_middleware.py:177
Function
test_shellcheck_clean_if_available
Run shellcheck when the tool exists (dev machines / CI images that have it); skip silently elsewhere — the bash -n + functional tests still run.
tests/scripts/test_uninstall_ping.py:164
Function
test_sherpa_available_degrades_native_loader_failures
A broken platform DLL/dylib/so disables Sherpa without crashing APIs.
tests/test_sherpa_dictation.py:185
Function
test_sherpa_model_not_set_is_a_config_error_not_oom
()
tests/test_generation_audio_guard.py:282
Method
test_sherpa_offline_backend_maps_to_configured_model
OMNIVOICE_ASR_BACKEND=sherpa-onnx-asr preflights the configured (default) sherpa dictation model's repo.
tests/test_asr_model_missing.py:239
Function
test_sherpa_ready_delivery_failure_does_not_report_loaded
(monkeypatch)
tests/test_truthful_degraded_state.py:61
Function
test_sherpa_warmup_builds_recognizer
warmup() eagerly builds the recognizer so the first live session doesn't pay the ONNX-session load. Before the fix SherpaDictationBackend had no
tests/test_sherpa_dictation.py:359
Function
test_shifts_overlapping_cue_to_keep_both
()
tests/test_srt_parser.py:98
Function
test_shim_is_idempotent
(monkeypatch)
tests/test_pyannote_hf_compat.py:35
Function
test_shim_translates_use_auth_token_to_token
(monkeypatch)
tests/test_pyannote_hf_compat.py:10
Function
test_shipped_powershell_scripts_with_non_ascii_carry_a_utf8_bom
A BOM-less UTF-8 .ps1 is decoded with the ANSI code page by Windows PowerShell 5.1 — still the default shell on Windows 10/11. `uninstall.ps1
tests/scripts/test_uninstall_ping.py:175
Method
test_short_command_is_untouched
(self, tmp_path)
tests/test_ffmpeg_failure_diagnosis.py:71
Function
test_short_hf_string_not_redacted
Literal strings shorter than the 30-char tail (e.g. 'hf_short') are NOT real tokens and must NOT be redacted — that would clobber error messag
tests/backend/core/test_logging_filter.py:56
Function
test_short_identifiers_survive
(benign)
tests/test_scrub.py:74
Function
test_short_key_masks_to_set
(settings_mod)
tests/test_llm_endpoint_settings.py:86
Function
test_short_read_rejected
Length prefix says 100 bytes; only 50 arrive before EOF → IOError.
tests/backend/services/test_subprocess_backend.py:245
Function
test_short_segment_is_omitted_for_fallback
(tmp_path, vocals)
tests/test_segment_refs.py:42
Function
test_short_segment_unchanged
()
tests/test_subtitle_segmenter.py:19
Function
test_short_text_is_single_chunk
()
tests/test_chunked_tts.py:26
Function
test_short_text_stays_single_shot
(client, monkeypatch)
tests/test_chunked_tts.py:238
Function
test_should_flashinfer_refuses_non_cuda
(monkeypatch)
tests/test_flashinfer_optin.py:50
Function
test_should_flashinfer_refuses_without_the_package
(monkeypatch)
tests/test_flashinfer_optin.py:56
Function
test_should_open_respects_env
(monkeypatch)
tests/probe/test_report.py:59
Function
test_shutdown_class_is_matched_across_duplicate_imports
The handler must recognise the shutdown class even when it arrives from a second copy of the module. ``services.model_manager`` gets imported
backend/tests/test_model_load_shutdown.py:465
Function
test_shutdown_disconnect_before_goodbye_fails_without_forgetting_state
()
tests/test_worker_inbound_transport.py:3539
Function
test_shutdown_does_not_claim_someone_elses_gpu_stopped
(pool_executor)
tests/test_gpu_gateway.py:601
Function
test_shutdown_error_via_implicit_context
()
backend/tests/test_model_load_shutdown.py:109
Function
test_shutdown_error_wrapped_in_cause_chain
()
backend/tests/test_model_load_shutdown.py:97
← previous
next →
13,601–13,700 of 15,058, ranked by callers