MCPcopy Create free account

hub / github.com/Thysrael/Horizon / functions

Functions669 in github.com/Thysrael/Horizon

Functiontest_http_error_returns_empty
()
tests/test_gdelt.py:113
Functiontest_http_error_returns_empty
()
tests/test_google_news.py:137
Methodtest_ignores_non_matching_patterns
(self)
tests/test_storage.py:73
Methodtest_invalid_delivery_raises_validation_error
(self)
tests/test_webhook.py:1598
Methodtest_invalid_fallback_layout_raises_validation_error
(self)
tests/test_webhook.py:1610
Methodtest_invalid_layout_raises_validation_error
(self)
tests/test_webhook.py:1606
Methodtest_invalid_line
(self)
tests/test_webhook.py:396
Methodtest_invalid_overview_position_raises_validation_error
(self)
tests/test_webhook.py:1614
Methodtest_invalid_platform_raises_validation_error
(self)
tests/test_webhook.py:1602
Methodtest_invalid_port_raises_value_error
httpx.URL catches structurally invalid ports like 'abc'.
tests/test_webhook.py:1257
Methodtest_invalid_url_exception_prints_warning
(self)
tests/test_webhook.py:1556
Functiontest_iso_date_fallback
(monkeypatch)
tests/test_twitter.py:243
Methodtest_key_with_limit_and_split
#{summary?limit=10&split=---} truncates by character count.
tests/test_webhook.py:168
Methodtest_key_with_limit_no_truncation_needed
When value fits within limit, no truncation occurs.
tests/test_webhook.py:176
Functiontest_language_and_country_appended_to_query
()
tests/test_gdelt.py:75
Methodtest_language_filter_passes_matching_lang
webhook.languages=['zh'] allows 'zh' language.
tests/test_webhook.py:1053
Methodtest_language_filter_skips_non_matching_lang
webhook.languages=['zh'] skips 'en' language.
tests/test_webhook.py:1026
Functiontest_lazy_initialization
Downstream clients are not instantiated when the first provider succeeds.
tests/test_chained_client.py:146
Methodtest_leaves_unset_var_as_placeholder
(self, monkeypatch)
tests/test_storage.py:69
Methodtest_list
(self)
tests/test_webhook.py:85
Functiontest_list_runs_returns_desc_order
(tmp_path: Path)
tests/test_mcp_run_store.py:95
Functiontest_load_config_expands_env_vars
(tmp_path: Path, monkeypatch)
tests/test_mcp_adapter.py:60
Functiontest_load_config_expands_env_vars_in_ai_base_url
Integration: proves base_url is env-expandable end-to-end. This is exactly the use case that keeps private/tenant endpoint URLs out of versio
tests/test_storage.py:106
Functiontest_load_config_invalid_json
(tmp_path)
tests/test_storage.py:11
Functiontest_load_config_missing_file
(tmp_path)
tests/test_storage.py:6
Functiontest_load_config_success
(tmp_path)
tests/test_storage.py:32
Functiontest_load_config_validation_failure
(tmp_path)
tests/test_storage.py:21
Functiontest_load_mcp_secrets_loads_generic_env_keys
(tmp_path: Path, monkeypatch)
tests/test_mcp_adapter.py:33
Functiontest_long_window_uses_after_operator
()
tests/test_google_news.py:68
Methodtest_malformed_row_missing_date_is_skipped
(self)
tests/test_openbb_scraper.py:237
Methodtest_malformed_row_missing_title_is_skipped
(self)
tests/test_openbb_scraper.py:228
Methodtest_malformed_row_missing_url_is_skipped
(self)
tests/test_openbb_scraper.py:215
Methodtest_maps_single_news_row_into_content_item
(self)
tests/test_openbb_scraper.py:117
Functiontest_max_items_applies_after_group_limits
()
tests/test_balanced_digest.py:78
Functiontest_max_items_works_without_category_groups
()
tests/test_balanced_digest.py:98
Functiontest_max_results_cap
()
tests/test_google_news.py:170
Functiontest_metadata_keys_aligned_for_analyzer
Analyzer reads favorite_count/retweet_count/reply_count — verify they are set.
tests/test_twitter.py:137
Functiontest_metrics_tool_smoke
()
tests/test_mcp_service_smoke.py:67
Methodtest_minimax_provider_enum
(self)
tests/test_minimax_client.py:340
Functiontest_missing_articles_key_returns_empty
()
tests/test_gdelt.py:122
Functiontest_missing_artifact_raises
(tmp_path: Path)
tests/test_mcp_run_store.py:87
Functiontest_missing_run_raises
(tmp_path: Path)
tests/test_mcp_run_store.py:63
Functiontest_missing_token_returns_empty
(monkeypatch)
tests/test_twitter.py:102
Methodtest_missing_variable_with_params
#{unknown?limit=5&split=---} with missing key leaves placeholder.
tests/test_webhook.py:183
Methodtest_mix_of_plain_and_parameterized
Plain #{date} and parameterized #{summary?...} in same template.
tests/test_webhook.py:197
Methodtest_multiple_headers
(self)
tests/test_webhook.py:382
Methodtest_nested_dict
(self)
tests/test_webhook.py:71
Functiontest_no_fallback_on_unexpected_error
Non-retryable errors should not trigger fallback.
tests/test_chained_client.py:120
Methodtest_no_hostname_raises_value_error
URLs without a hostname raise ValueError.
tests/test_webhook.py:1238
Methodtest_no_language_filter_sends_all
webhook.languages=None sends for all languages.
tests/test_webhook.py:1080
Methodtest_no_matching_vars
(self)
tests/test_webhook.py:40
Methodtest_no_matching_vars
(self)
tests/test_webhook.py:100
Functiontest_no_results_item_skipped
(monkeypatch)
tests/test_twitter.py:221
Methodtest_no_split_delimiter_in_value
(self)
tests/test_webhook.py:136
Functiontest_no_users_returns_empty
()
tests/test_twitter.py:90
Functiontest_non_json_body_returns_empty
()
tests/test_gdelt.py:170
Methodtest_non_string_values_preserved
(self)
tests/test_webhook.py:91
Methodtest_none
(self)
tests/test_webhook.py:389
Methodtest_numeric_values
(self)
tests/test_webhook.py:51
Methodtest_object
(self)
tests/test_webhook.py:354
Methodtest_ollama_accepts_custom_base_url_without_v1
(self, monkeypatch)
tests/test_minimax_client.py:104
Methodtest_ollama_config_base_url_overrides_env
(self, monkeypatch)
tests/test_minimax_client.py:125
Methodtest_ollama_does_not_duplicate_v1_in_custom_base_url
(self, monkeypatch)
tests/test_minimax_client.py:111
Methodtest_ollama_host_env_without_scheme_is_supported
(self, monkeypatch)
tests/test_minimax_client.py:132
Methodtest_ollama_uses_base_url_from_env
(self, monkeypatch)
tests/test_minimax_client.py:118
Methodtest_ollama_uses_localhost_default_base_url
(self, monkeypatch)
tests/test_minimax_client.py:95
Methodtest_one_char_over_limit
(self)
tests/test_webhook.py:154
Methodtest_param_in_dict_body
#{summary?limit=10&split=---} works inside dict request_body.
tests/test_webhook.py:189
Methodtest_parse_symbols
(self, value, expected)
tests/test_openbb_scraper.py:275
Functiontest_parses_articles_into_content_items
()
tests/test_gdelt.py:88
Functiontest_parses_feed_into_content_items
()
tests/test_google_news.py:94
Methodtest_parses_iso_string_date
(self)
tests/test_openbb_scraper.py:161
Methodtest_passes_comma_joined_symbols_to_openbb
(self)
tests/test_openbb_scraper.py:138
Methodtest_plain_key_without_params
#{summary} without params works as before.
tests/test_webhook.py:162
Methodtest_plain_string
(self)
tests/test_webhook.py:363
Methodtest_post_request_with_dict_body
(self)
tests/test_webhook.py:642
Methodtest_post_request_with_dict_body_and_special_chars
Summary containing quotes should be properly serialized.
tests/test_webhook.py:685
Methodtest_post_request_with_form_body
(self)
tests/test_webhook.py:585
Methodtest_post_request_with_json_body
(self)
tests/test_webhook.py:474
Methodtest_post_request_with_json_str_body_containing_summary
String JSON body with #{summary} that contains special characters. Note: when request_body is a string, #{summary} is replaced via si
tests/test_webhook.py:506
Methodtest_post_request_with_json_str_body_summary_with_quotes_breaks_json
String JSON body where #{summary} has quotes — JSON becomes invalid. This demonstrates the limitation: with string request_body, #{summary}
tests/test_webhook.py:545
Methodtest_prepare_variables_changes_summary_for_any_post_body
(self)
tests/test_webhook.py:276
Methodtest_prepare_variables_keeps_summary_unchanged_without_body
(self)
tests/test_webhook.py:287
Methodtest_preserves_non_string_leaves
(self)
tests/test_storage.py:87
Methodtest_raises_when_api_key_missing
(self, monkeypatch)
tests/test_azure_client.py:46
Methodtest_raises_when_api_key_missing
(self, monkeypatch)
tests/test_minimax_client.py:47
Methodtest_raises_when_endpoint_missing
(self, monkeypatch)
tests/test_azure_client.py:53
Methodtest_recurses_into_dict
(self, monkeypatch)
tests/test_storage.py:78
Methodtest_recurses_into_list
(self, monkeypatch)
tests/test_storage.py:83
Methodtest_redact_headers_masks_sensitive_values
(self)
tests/test_webhook.py:408
Methodtest_redact_url_removes_query_and_fragment
(self)
tests/test_webhook.py:402
Functiontest_reddit_comment_403_degrades_to_post_without_comments
()
tests/test_reddit.py:140
Functiontest_reddit_comments_use_old_reddit_first
()
tests/test_reddit.py:235
Functiontest_reddit_fetch_uses_browser_like_headers
()
tests/test_reddit.py:119
Functiontest_reddit_listing_old_failure_falls_back_to_json_then_rss
()
tests/test_reddit.py:187
Functiontest_reddit_listing_uses_old_reddit_first
()
tests/test_reddit.py:162
Functiontest_reddit_subreddits_are_fetched_sequentially
()
tests/test_reddit.py:263
Methodtest_rejects_literal_api_key_in_api_key_env_without_leaking_it
(self, monkeypatch)
tests/test_minimax_client.py:52
Functiontest_rejects_path_traversal_run_id
(tmp_path: Path)
tests/test_mcp_run_store.py:70
Functiontest_rejects_unsafe_summary_language
(tmp_path: Path)
tests/test_mcp_run_store.py:79
← previousnext →501–600 of 669, ranked by callers