MCPcopy Create free account

hub / github.com/Thysrael/Horizon / functions

Functions669 in github.com/Thysrael/Horizon

Functiontest_ai_recommendations_require_api_key_for_cloud_provider
(monkeypatch)
tests/test_setup_wizard.py:44
Functiontest_all_providers_fail
When all providers fail, raise RuntimeError.
tests/test_chained_client.py:108
Methodtest_all_valid_values_pass
(self)
tests/test_webhook.py:1618
Functiontest_analyze_batch_concurrent_preserves_order
Verify that analyze_batch preserves input order in results.
tests/test_analyzer.py:83
Functiontest_analyze_batch_concurrent_processing
Verify that higher concurrency allows overlapping item processing.
tests/test_analyzer.py:60
Functiontest_analyze_batch_does_not_sleep_by_default
(monkeypatch)
tests/test_analyzer.py:20
Functiontest_analyze_batch_sleeps_between_items_when_throttle_configured
(monkeypatch)
tests/test_analyzer.py:40
Functiontest_append_discussion_content_adds_marker
()
tests/test_twitter.py:359
Functiontest_append_discussion_content_empty_lines_no_change
()
tests/test_twitter.py:378
Functiontest_apply_source_filter_handles_twitter_and_openbb
()
tests/test_mcp_adapter.py:85
Methodtest_array
(self)
tests/test_webhook.py:357
Functiontest_bad_article_is_skipped_not_crashing
()
tests/test_gdelt.py:138
Functiontest_balanced_digest_config_rejects_non_positive_or_empty_limits
(kwargs)
tests/test_balanced_digest.py:134
Methodtest_basic_completion
(self, monkeypatch)
tests/test_minimax_client.py:143
Methodtest_blank_lines
(self)
tests/test_webhook.py:392
Methodtest_build_preview_uses_request_body_override
(self)
tests/test_webhook.py:325
Methodtest_build_preview_uses_same_summary_formatting_as_send_path
(self)
tests/test_webhook.py:298
Functiontest_category_groups_apply_limits_and_default_group_limit
()
tests/test_balanced_digest.py:49
Functiontest_ceid_defaults_when_unset
()
tests/test_google_news.py:81
Functiontest_check_subscriptions_skips_imap_when_disabled
(monkeypatch)
tests/test_email.py:166
Methodtest_coerce_datetime_handles_bogus
(self)
tests/test_openbb_scraper.py:289
Methodtest_coerce_url_handles_bogus
(self)
tests/test_openbb_scraper.py:294
Functiontest_configure_ai_allows_ollama_without_api_key
(monkeypatch)
tests/test_setup_wizard.py:7
Methodtest_connect_error_prints_warning
(self)
tests/test_webhook.py:1520
Functiontest_create_chained_client_parses_chain
_create_chained_client correctly parses provider chain string.
tests/test_chained_client.py:162
Functiontest_create_chained_client_rejects_unknown_provider
_create_chained_client rejects unknown providers in chain.
tests/test_chained_client.py:178
Functiontest_create_run_writes_meta
(tmp_path: Path)
tests/test_mcp_run_store.py:10
Methodtest_creates_azure_client
(self, monkeypatch)
tests/test_azure_client.py:102
Methodtest_creates_instance_with_valid_config
(self, monkeypatch)
tests/test_azure_client.py:37
Methodtest_creates_instance_with_valid_config
(self, monkeypatch)
tests/test_minimax_client.py:40
Methodtest_creates_openai_client_for_deepseek
(self, monkeypatch)
tests/test_minimax_client.py:330
Methodtest_creates_openai_client_for_minimax
(self, monkeypatch)
tests/test_minimax_client.py:323
Methodtest_custom_headers
(self)
tests/test_webhook.py:615
Methodtest_deduplicates_across_watchlists_by_url
(self)
tests/test_openbb_scraper.py:186
Methodtest_deeply_nested
(self, monkeypatch)
tests/test_storage.py:93
Methodtest_deepseek_provider_enum
(self)
tests/test_minimax_client.py:343
Methodtest_default_values
(self)
tests/test_webhook.py:766
Methodtest_details_references_allow_balanced_parentheses_in_href
(self)
tests/test_webhook.py:259
Methodtest_details_references_are_flattened_for_webhook
(self)
tests/test_webhook.py:206
Methodtest_details_references_with_malformed_http_href_remain_plain_text
(self)
tests/test_webhook.py:243
Methodtest_details_references_with_unsafe_href_remain_plain_text
(self)
tests/test_webhook.py:227
Methodtest_detects_various_temperature_error_messages
( self, monkeypatch, msg )
tests/test_minimax_client.py:303
Functiontest_disabled_config_returns_empty
()
tests/test_gdelt.py:105
Functiontest_disabled_config_returns_empty
()
tests/test_google_news.py:121
Functiontest_disabled_returns_empty
()
tests/test_twitter.py:78
Methodtest_disabled_skips
(self)
tests/test_webhook.py:424
Methodtest_disabled_webhook_prints_warning
When webhook is disabled, notify() prints a yellow warning.
tests/test_webhook.py:1643
Methodtest_disabled_webhook_skips_notification
(self)
tests/test_webhook.py:431
Methodtest_does_not_echo_identifier_shaped_api_key
(self, monkeypatch)
tests/test_minimax_client.py:65
Methodtest_does_not_retry_for_unrelated_error
(self, monkeypatch)
tests/test_minimax_client.py:263
Methodtest_drops_items_older_than_since
(self)
tests/test_openbb_scraper.py:175
Functiontest_duplicate_category_warns_and_first_group_wins
()
tests/test_balanced_digest.py:107
Methodtest_each_valid_platform
(self)
tests/test_webhook.py:1633
Methodtest_empty
(self)
tests/test_webhook.py:369
Methodtest_empty_env_var_value_raises_value_error
Env var exists but is empty string → ValueError.
tests/test_webhook.py:1265
Functiontest_empty_feed_returns_empty
()
tests/test_google_news.py:146
Functiontest_empty_query_returns_empty
()
tests/test_gdelt.py:130
Functiontest_empty_query_returns_empty
()
tests/test_google_news.py:129
Methodtest_empty_string
(self)
tests/test_webhook.py:386
Methodtest_empty_template
(self)
tests/test_webhook.py:45
Methodtest_empty_url_env_skips_notification
(self)
tests/test_webhook.py:440
Methodtest_empty_url_prints_warning
When URL is empty (env var not set), notify() prints a yellow warning.
tests/test_webhook.py:1658
Methodtest_empty_value
(self)
tests/test_webhook.py:143
Methodtest_empty_vars
(self)
tests/test_webhook.py:48
Methodtest_ensure_utc_naive
(self)
tests/test_openbb_scraper.py:278
Methodtest_ensure_utc_other_tz
(self)
tests/test_openbb_scraper.py:283
Functiontest_entry_missing_link_or_title_is_skipped
()
tests/test_google_news.py:154
Methodtest_env_var_not_set_sets_url_none
url_env configured but env var doesn't exist → url=None + console warning.
tests/test_webhook.py:1273
Methodtest_exact_limit_with_join
(self)
tests/test_webhook.py:147
Methodtest_expands_multiple_references_in_one_string
(self, monkeypatch)
tests/test_storage.py:64
Methodtest_expands_simple_reference
(self, monkeypatch)
tests/test_storage.py:60
Methodtest_failure_calls_notify_with_failure_vars
send_failure_notification sends notify with correct failure vars.
tests/test_webhook.py:1168
Methodtest_failure_timestamp_is_current_utc
Failure notification timestamp reflects current UTC time.
tests/test_webhook.py:1196
Functiontest_fallback_on_empty_response
When first provider returns empty/whitespace, fallback to second.
tests/test_chained_client.py:65
Functiontest_fallback_on_quota_exceeded
When first provider quota exhausted, fallback to second.
tests/test_chained_client.py:95
Functiontest_fallback_on_rate_limit
When first provider hits 429, fallback to second.
tests/test_chained_client.py:80
Methodtest_falls_back_to_watchlist_symbols_when_row_has_none
(self)
tests/test_openbb_scraper.py:151
Methodtest_feishu_collapsible_layout_builds_single_card_message
Feishu collapsible layout sends one card with collapsed item panels.
tests/test_webhook.py:980
Functiontest_fetch_items_uses_public_orchestrator_api
(tmp_path: Path, monkeypatch)
tests/test_mcp_service_smoke.py:74
Functiontest_fetch_replies_appends_top_comments
When fetch_reply_text=True, reply lines are appended under Top Comments.
tests/test_twitter.py:300
Functiontest_fetch_replies_disabled_by_default
fetch_reply_text defaults to False — verify config default.
tests/test_twitter.py:294
Functiontest_fetch_replies_no_conversation_id_returns_empty
(monkeypatch)
tests/test_twitter.py:396
Functiontest_filter_items_applies_balanced_digest
(tmp_path: Path, monkeypatch)
tests/test_mcp_service_smoke.py:147
Functiontest_filter_items_uses_public_topic_dedup_api
(tmp_path: Path, monkeypatch)
tests/test_mcp_service_smoke.py:113
Functiontest_filters_old_tweets
(monkeypatch)
tests/test_twitter.py:166
Methodtest_form_data
(self)
tests/test_webhook.py:366
Methodtest_full_config
(self)
tests/test_webhook.py:777
Functiontest_generate_empty_summary_zh_uses_localized_analyzed_line
()
tests/test_summarizer.py:127
Functiontest_generate_summary_zh_uses_localized_selection_header_and_numeric_date
()
tests/test_summarizer.py:108
Functiontest_generate_webhook_item_includes_discussion_link_when_distinct
()
tests/test_summarizer.py:63
Functiontest_generate_webhook_item_omits_discussion_link_when_same_as_item_url
()
tests/test_summarizer.py:78
Functiontest_generate_webhook_item_renders_single_item_detail
()
tests/test_summarizer.py:47
Functiontest_generate_webhook_item_uses_localized_discussion_label
()
tests/test_summarizer.py:93
Functiontest_generate_webhook_overview_lists_items_without_full_details
()
tests/test_summarizer.py:30
Methodtest_generic_exception_prints_type_name
(self)
tests/test_webhook.py:1574
Functiontest_get_effective_config_can_filter_sources
(tmp_path: Path)
tests/test_mcp_service_smoke.py:47
Methodtest_get_request_when_no_body
(self)
tests/test_webhook.py:449
Methodtest_handles_empty_results
(self)
tests/test_openbb_scraper.py:206
Functiontest_horizon_mcp_error_string_representation
()
tests/test_mcp_errors.py:4
Methodtest_http_error_logged
(self)
tests/test_webhook.py:740
← previousnext →401–500 of 669, ranked by callers