MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_run_returns_results_for_select
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:248
Methodtest_run_select_query
Test executing a SELECT query.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:231
Methodtest_run_sends_the_argument_under_its_original_name
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:185
Methodtest_run_serializes_success_output
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:43
Methodtest_run_show_query
Test executing a SHOW query.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:255
Functiontest_run_still_backfills
`crewai run` was already correct and must stay that way. The backfill returns normally and execution is stopped at the next call in run_crew
lib/crewai/tests/cli/test_project_id_backfill.py:121
Methodtest_run_strips_extra_kwargs_from_llm
Extra kwargs not in the schema should be silently stripped, preventing unexpected-keyword crashes in _run.
lib/crewai/tests/tools/test_base_tool.py:310
Methodtest_run_success
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:53
Functiontest_run_success_global_index
Test successful _run execution with a global (non-scoped) index.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:290
Functiontest_run_success_html
(mock_post)
lib/crewai-tools/tests/tools/brightdata_webunlocker_tool_test.py:14
Functiontest_run_success_json
(mock_post)
lib/crewai-tools/tests/tools/brightdata_webunlocker_tool_test.py:30
Functiontest_run_success_scoped_index
Test successful _run execution with a scoped index.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:231
Methodtest_run_success_when_expected_metric_is_not_available
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:177
Methodtest_run_success_with_single_metric_evaluator_and_expected_specific_metric
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:142
Methodtest_run_success_with_unknown_metric
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:112
Methodtest_run_successful_search
(self, mock_post)
lib/crewai-tools/tests/tools/brightdata_serp_tool_test.py:16
Methodtest_run_text_file
Test reading a text file returns decoded content.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:44
Functiontest_run_uses_project_runner_by_default
(run_crew, runner)
lib/cli/tests/test_cli.py:249
Methodtest_run_with_all_kwargs_passes_validation
All keyword arguments including optional ones should pass.
lib/crewai/tests/tools/test_base_tool.py:271
Functiontest_run_with_definition_uses_project_runner
(run_crew, runner)
lib/cli/tests/test_cli.py:262
Functiontest_run_with_download
(mock_urlretrieve, mock_urlopen)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:65
Methodtest_run_with_kwargs
Test _run ignores extra kwargs.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:115
Functiontest_run_with_max_results
(mock_fetch, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:116
Methodtest_run_with_missing_required_kwarg_raises
Missing required kwargs should raise ValueError from schema validation.
lib/crewai/tests/tools/test_base_tool.py:284
Methodtest_run_with_no_args_raises_validation_error
Calling run() with no arguments should raise a clear ValueError, not a cryptic TypeError about missing positional arguments (GH-4611).
lib/crewai/tests/tools/test_base_tool.py:277
Methodtest_run_with_positional_args_skips_validation
Positional-arg calls should bypass schema validation (backwards compat).
lib/crewai/tests/tools/test_base_tool.py:297
Functiontest_run_with_rate_limit_retry_retries_with_backoff
()
lib/crewai/tests/llms/test_retry.py:90
Methodtest_run_with_request_exception
(self, mock_post)
lib/crewai-tools/tests/tools/brightdata_serp_tool_test.py:41
Methodtest_run_with_ssl_verification_default
Test that _run uses SSL verification by default when CREWAI_FACTORY is not set
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:91
Methodtest_run_with_ssl_verification_factory_false
Test that _run uses SSL verification when CREWAI_FACTORY is 'false
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:107
Methodtest_run_with_ssl_verification_factory_false_uppercase
Test that _run uses SSL verification when CREWAI_FACTORY is 'FALSE' (case-insensitive)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:123
Methodtest_run_with_valid_kwargs_passes_validation
Valid keyword arguments should pass schema validation and execute.
lib/crewai/tests/tools/test_base_tool.py:265
Methodtest_run_with_wrong_field_name_raises
Kwargs not matching any schema field should trigger validation error for missing required fields.
lib/crewai/tests/tools/test_base_tool.py:290
Functiontest_run_without_file_path_reports_error_when_no_default
file_path is optional in the schema, so this must not raise.
lib/crewai-tools/tests/file_read_tool_test.py:258
Functiontest_run_without_filename_passes_none
(run_crew_mock: mock.Mock, runner: CliRunner)
lib/crewai/tests/cli/test_run_crew.py:45
Methodtest_run_without_ssl_verification_factory_true
Test that _run disables SSL verification when CREWAI_FACTORY is 'true
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:139
Methodtest_run_without_ssl_verification_factory_true_uppercase
Test that _run disables SSL verification when CREWAI_FACTORY is 'TRUE' (case-insensitive)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:155
Functiontest_runner_allows_turns_while_held_and_retains_outputs_after_failure
()
lib/crewai/tests/test_flow_jobs.py:184
Functiontest_runner_requires_firecrawl_key
(runner, monkeypatch)
lib/crewai/tests/telemetry/test_wharf_runner.py:63
Functiontest_runtime_env_does_not_import_crewai
crewai-core is the leaf package; importing crewai here would invert it. Asserted on the module's imports rather than on ``sys.modules``, which
lib/crewai-core/tests/test_runtime_env.py:72
Methodtest_runtime_fields_are_rejected
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:898
Functiontest_runtime_markers_are_detected_by_presence
An empty value still means the platform set the marker. Some platforms export a bare `CI=`; truthiness checks would drop those runs to the TT
lib/crewai/tests/telemetry/test_coding_agent_detection.py:651
Functiontest_runtime_package_reads_no_decorator_attrs
()
lib/crewai/tests/test_flow_from_definition.py:4397
Functiontest_runtime_precedence_prefers_the_most_specific
CI and hosted IDEs usually run in containers; the specific one wins.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:306
Methodtest_runtime_state_roundtrip_with_record
(self)
lib/crewai/tests/test_event_record.py:358
Methodtest_runtime_state_serializes_event_record
(self)
lib/crewai/tests/test_event_record.py:332
Methodtest_runtime_state_without_record_still_loads
Backwards compat: a bare entity list should still validate.
lib/crewai/tests/test_event_record.py:391
Functiontest_s3_reader_closes_response_body
Release the streaming response after a successful read.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:32
Functiontest_s3_reader_closes_response_body_after_decode_error
Release the streaming response when UTF-8 decoding fails.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:46
Functiontest_s3_reader_closes_response_body_after_read_error
Release the streaming response when reading the body fails.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:62
Functiontest_s3_reader_preserves_read_error_when_close_fails
Keep the primary read error when best-effort cleanup also fails.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:93
Functiontest_s3_reader_preserves_result_when_close_fails
Keep a successful read result when best-effort cleanup fails.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:78
Functiontest_safe_extractall_blocks_hardlink_escaping_cache_destination
A hardlink whose target escapes dest is rejected.
lib/crewai/tests/skills/test_cache.py:230
Functiontest_safe_extractall_blocks_member_written_through_cache_symlink_chain
Self-referential symlinks followed by a regular member must not escape.
lib/crewai/tests/skills/test_cache.py:287
Functiontest_safe_extractall_blocks_special_cache_tar_member
Special tar members such as FIFOs are rejected.
lib/crewai/tests/skills/test_cache.py:248
Functiontest_safe_extractall_blocks_symlink_escaping_cache_destination
A symlink whose target escapes dest is rejected before extraction.
lib/crewai/tests/skills/test_cache.py:204
Functiontest_safe_extractall_refuses_cache_links_with_upgrade_hint
Even a link that stays inside dest is refused; filter="data" handles it.
lib/crewai/tests/skills/test_cache.py:263
Functiontest_safe_get_allows_configured_private_hostname
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:67
Functiontest_safe_get_blocks_direct_internal_url
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:62
Functiontest_safe_get_blocks_redirect_to_internal_url
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:144
Functiontest_safe_get_closes_earlier_hops_after_too_many_redirects
Hops accumulated before the failure must not be left open. Under stream=True each hop holds its connection until its body is read or closed,
lib/crewai-tools/tests/utilities/test_safe_requests.py:208
Functiontest_safe_get_closes_earlier_hops_when_a_redirect_is_rejected
A hop rejected mid-chain still releases the connections already open.
lib/crewai-tools/tests/utilities/test_safe_requests.py:231
Functiontest_safe_get_fails_closed_after_too_many_redirects
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:187
Functiontest_safe_get_follows_redirect_from_private_host_to_public_host
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:87
Functiontest_safe_get_follows_safe_relative_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:162
Functiontest_safe_get_leaves_hops_open_on_success
On success the hops belong to the caller, via response.history.
lib/crewai-tools/tests/utilities/test_safe_requests.py:254
Functiontest_safe_get_preserves_credentials_on_same_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:314
Functiontest_safe_get_rechecks_private_host_allowlist_on_redirect
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:113
Functiontest_safe_get_rejects_proxies
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:338
Functiontest_safe_get_strips_credentials_on_cross_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:273
Functiontest_safe_repair_json
()
lib/crewai/tests/agents/test_crew_agent_parser.py:232
Functiontest_safe_repair_json_extra_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:261
Functiontest_safe_repair_json_missing_colon
()
lib/crewai/tests/agents/test_crew_agent_parser.py:296
Functiontest_safe_repair_json_missing_comma
()
lib/crewai/tests/agents/test_crew_agent_parser.py:303
Functiontest_safe_repair_json_missing_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:245
Functiontest_safe_repair_json_mixed_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:282
Functiontest_safe_repair_json_single_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:275
Functiontest_safe_repair_json_special_characters_key
()
lib/crewai/tests/agents/test_crew_agent_parser.py:317
Functiontest_safe_repair_json_trailing_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:268
Functiontest_safe_repair_json_unclosed_brackets
()
lib/crewai/tests/agents/test_crew_agent_parser.py:254
Functiontest_safe_repair_json_unescaped_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:289
Functiontest_safe_repair_json_unexpected_trailing_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:310
Functiontest_safe_repair_json_unrepairable
()
lib/crewai/tests/agents/test_crew_agent_parser.py:239
Functiontest_safe_session_does_not_follow_redirects_by_default
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:359
Functiontest_safe_session_follows_redirects_when_caller_opts_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:385
Methodtest_same_action_from_different_apps_has_unique_tool_names
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:327
Functiontest_same_document_gets_the_same_point_id
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:140
Functiontest_same_instance_resolves_model_per_call
One instance across two calls resolves each call's model independently.
lib/crewai-tools/tests/tools/test_vision_tool.py:99
Methodtest_same_interceptor_different_providers
Test that same interceptor instance can be used with multiple providers.
lib/crewai/tests/llms/hooks/test_anthropic_interceptor.py:289
Functiontest_same_named_skills_from_different_orgs_stay_individually_loadable
Skills sharing a frontmatter name must each be addressable.
lib/crewai/tests/skills/test_progressive_disclosure.py:273
Functiontest_same_role_reaches_the_same_collection_every_time
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:76
Methodtest_sampling_kwargs_bind_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:232
Methodtest_sanitize_collection_name_bad_ends
Test sanitizing a name with non-alphanumeric start/end.
lib/crewai/tests/rag/chromadb/test_utils.py:47
Methodtest_sanitize_collection_name_empty_string
Test sanitizing an empty string.
lib/crewai/tests/rag/chromadb/test_utils.py:90
Methodtest_sanitize_collection_name_ipv4_pattern
Test sanitizing an IPv4 address.
lib/crewai/tests/rag/chromadb/test_utils.py:59
Methodtest_sanitize_collection_name_long_name
Test sanitizing a very long collection name.
lib/crewai/tests/rag/chromadb/test_utils.py:22
Methodtest_sanitize_collection_name_none
Test sanitizing a None value.
lib/crewai/tests/rag/chromadb/test_utils.py:54
Methodtest_sanitize_collection_name_properties
Test that sanitized collection names always meet ChromaDB requirements.
lib/crewai/tests/rag/chromadb/test_utils.py:73
Methodtest_sanitize_collection_name_short_name
Test sanitizing a very short name.
lib/crewai/tests/rag/chromadb/test_utils.py:39
Methodtest_sanitize_collection_name_special_chars
Test sanitizing a name with special characters.
lib/crewai/tests/rag/chromadb/test_utils.py:31
← previousnext →17,601–17,700 of 19,482, ranked by callers