Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_run_returns_empty_string_on_error
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:748
Method
test_run_returns_results_for_select
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:248
Method
test_run_select_query
Test executing a SELECT query.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:231
Method
test_run_sends_the_argument_under_its_original_name
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:185
Method
test_run_serializes_success_output
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:43
Method
test_run_show_query
Test executing a SHOW query.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:255
Function
test_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
Method
test_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
Method
test_run_success
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:53
Function
test_run_success_global_index
Test successful _run execution with a global (non-scoped) index.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:290
Function
test_run_success_html
(mock_post)
lib/crewai-tools/tests/tools/brightdata_webunlocker_tool_test.py:14
Function
test_run_success_json
(mock_post)
lib/crewai-tools/tests/tools/brightdata_webunlocker_tool_test.py:30
Function
test_run_success_scoped_index
Test successful _run execution with a scoped index.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:231
Method
test_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
Method
test_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
Method
test_run_success_with_unknown_metric
( self, mock_create_evaluator, mock_crew, mock_evaluator_results )
lib/crewai/tests/experimental/evaluation/test_experiment_runner.py:112
Method
test_run_successful_search
(self, mock_post)
lib/crewai-tools/tests/tools/brightdata_serp_tool_test.py:16
Method
test_run_text_file
Test reading a text file returns decoded content.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:44
Function
test_run_uses_project_runner_by_default
(run_crew, runner)
lib/cli/tests/test_cli.py:249
Method
test_run_with_all_kwargs_passes_validation
All keyword arguments including optional ones should pass.
lib/crewai/tests/tools/test_base_tool.py:271
Function
test_run_with_definition_uses_project_runner
(run_crew, runner)
lib/cli/tests/test_cli.py:262
Function
test_run_with_download
(mock_urlretrieve, mock_urlopen)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:65
Method
test_run_with_kwargs
Test _run ignores extra kwargs.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:115
Function
test_run_with_max_results
(mock_fetch, tool)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:116
Method
test_run_with_missing_required_kwarg_raises
Missing required kwargs should raise ValueError from schema validation.
lib/crewai/tests/tools/test_base_tool.py:284
Method
test_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
Method
test_run_with_positional_args_skips_validation
Positional-arg calls should bypass schema validation (backwards compat).
lib/crewai/tests/tools/test_base_tool.py:297
Function
test_run_with_rate_limit_retry_retries_with_backoff
()
lib/crewai/tests/llms/test_retry.py:90
Method
test_run_with_request_exception
(self, mock_post)
lib/crewai-tools/tests/tools/brightdata_serp_tool_test.py:41
Method
test_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
Method
test_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
Method
test_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
Method
test_run_with_valid_kwargs_passes_validation
Valid keyword arguments should pass schema validation and execute.
lib/crewai/tests/tools/test_base_tool.py:265
Method
test_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
Function
test_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
Function
test_run_without_filename_passes_none
(run_crew_mock: mock.Mock, runner: CliRunner)
lib/crewai/tests/cli/test_run_crew.py:45
Method
test_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
Method
test_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
Function
test_runner_allows_turns_while_held_and_retains_outputs_after_failure
()
lib/crewai/tests/test_flow_jobs.py:184
Function
test_runner_requires_firecrawl_key
(runner, monkeypatch)
lib/crewai/tests/telemetry/test_wharf_runner.py:63
Function
test_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
Method
test_runtime_fields_are_rejected
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:898
Function
test_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
Function
test_runtime_package_reads_no_decorator_attrs
()
lib/crewai/tests/test_flow_from_definition.py:4397
Function
test_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
Method
test_runtime_state_roundtrip_with_record
(self)
lib/crewai/tests/test_event_record.py:358
Method
test_runtime_state_serializes_event_record
(self)
lib/crewai/tests/test_event_record.py:332
Method
test_runtime_state_without_record_still_loads
Backwards compat: a bare entity list should still validate.
lib/crewai/tests/test_event_record.py:391
Function
test_s3_reader_closes_response_body
Release the streaming response after a successful read.
lib/crewai-tools/tests/tools/test_s3_reader_tool.py:32
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_safe_extractall_blocks_hardlink_escaping_cache_destination
A hardlink whose target escapes dest is rejected.
lib/crewai/tests/skills/test_cache.py:230
Function
test_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
Function
test_safe_extractall_blocks_special_cache_tar_member
Special tar members such as FIFOs are rejected.
lib/crewai/tests/skills/test_cache.py:248
Function
test_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
Function
test_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
Function
test_safe_get_allows_configured_private_hostname
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:67
Function
test_safe_get_blocks_direct_internal_url
()
lib/crewai-tools/tests/utilities/test_safe_requests.py:62
Function
test_safe_get_blocks_redirect_to_internal_url
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:144
Function
test_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
Function
test_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
Function
test_safe_get_fails_closed_after_too_many_redirects
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:187
Function
test_safe_get_follows_redirect_from_private_host_to_public_host
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:87
Function
test_safe_get_follows_safe_relative_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:162
Function
test_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
Function
test_safe_get_preserves_credentials_on_same_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:314
Function
test_safe_get_rechecks_private_host_allowlist_on_redirect
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:113
Function
test_safe_get_rejects_proxies
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:338
Function
test_safe_get_strips_credentials_on_cross_origin_redirect
( monkeypatch: pytest.MonkeyPatch, public_dns: None )
lib/crewai-tools/tests/utilities/test_safe_requests.py:273
Function
test_safe_repair_json
()
lib/crewai/tests/agents/test_crew_agent_parser.py:232
Function
test_safe_repair_json_extra_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:261
Function
test_safe_repair_json_missing_colon
()
lib/crewai/tests/agents/test_crew_agent_parser.py:296
Function
test_safe_repair_json_missing_comma
()
lib/crewai/tests/agents/test_crew_agent_parser.py:303
Function
test_safe_repair_json_missing_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:245
Function
test_safe_repair_json_mixed_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:282
Function
test_safe_repair_json_single_quotes
()
lib/crewai/tests/agents/test_crew_agent_parser.py:275
Function
test_safe_repair_json_special_characters_key
()
lib/crewai/tests/agents/test_crew_agent_parser.py:317
Function
test_safe_repair_json_trailing_commas
()
lib/crewai/tests/agents/test_crew_agent_parser.py:268
Function
test_safe_repair_json_unclosed_brackets
()
lib/crewai/tests/agents/test_crew_agent_parser.py:254
Function
test_safe_repair_json_unescaped_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:289
Function
test_safe_repair_json_unexpected_trailing_characters
()
lib/crewai/tests/agents/test_crew_agent_parser.py:310
Function
test_safe_repair_json_unrepairable
()
lib/crewai/tests/agents/test_crew_agent_parser.py:239
Function
test_safe_session_does_not_follow_redirects_by_default
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:359
Function
test_safe_session_follows_redirects_when_caller_opts_in
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:385
Method
test_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
Function
test_same_document_gets_the_same_point_id
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:140
Function
test_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
Method
test_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
Function
test_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
Function
test_same_role_reaches_the_same_collection_every_time
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:76
Method
test_sampling_kwargs_bind_to_typed_fields
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:232
Method
test_sanitize_collection_name_bad_ends
Test sanitizing a name with non-alphanumeric start/end.
lib/crewai/tests/rag/chromadb/test_utils.py:47
Method
test_sanitize_collection_name_empty_string
Test sanitizing an empty string.
lib/crewai/tests/rag/chromadb/test_utils.py:90
Method
test_sanitize_collection_name_ipv4_pattern
Test sanitizing an IPv4 address.
lib/crewai/tests/rag/chromadb/test_utils.py:59
Method
test_sanitize_collection_name_long_name
Test sanitizing a very long collection name.
lib/crewai/tests/rag/chromadb/test_utils.py:22
Method
test_sanitize_collection_name_none
Test sanitizing a None value.
lib/crewai/tests/rag/chromadb/test_utils.py:54
Method
test_sanitize_collection_name_properties
Test that sanitized collection names always meet ChromaDB requirements.
lib/crewai/tests/rag/chromadb/test_utils.py:73
Method
test_sanitize_collection_name_short_name
Test sanitizing a very short name.
lib/crewai/tests/rag/chromadb/test_utils.py:39
← previous
next →
17,601–17,700 of 19,484, ranked by callers