Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Function
test_done_without_a_comparison_is_a_protocol_error
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2072
Function
test_dont_set_agents_step_callback_if_already_set
()
lib/crewai/tests/test_crew.py:1601
Method
test_double_slashes_collapsed
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:72
Function
test_download_pdf_oserror
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:55
Function
test_download_pdf_success
(mock_urlretrieve)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:48
Method
test_downloads_and_caches_uncached_skill_in_noninteractive_environment
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:219
Function
test_downloads_are_bounded_by_one_deadline_for_the_run
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1065
Method
test_downloads_when_a_project_local_skill_declares_another_version
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:336
Function
test_drain_writes_reports_background_save_failure_without_raising
Background memory failures should be reported without failing cleanup.
lib/crewai/tests/memory/test_unified_memory.py:1284
Function
test_draw_multi_renders_only_the_visible_window
(monkeypatch)
lib/cli/tests/test_tui_picker.py:48
Function
test_driver_stays_reusable_across_runs
The driver must survive a run so the tool can be called again. Real chromedriver raises 'no such window' once the only window has been closed
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:177
Method
test_drop_allowed_when_dml_enabled
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:93
Function
test_dropped_allows_up_to_the_max_drop
(base, head, fails)
lib/devtools/tests/test_agents_md_eval.py:96
Method
test_drops_the_version_pin
(self)
lib/crewai/tests/skills/test_registry.py:143
Method
test_dry_run_json
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:432
Function
test_dual_shard_search
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:214
Method
test_dump_new_settings
(self)
lib/cli/tests/test_config.py:99
Method
test_dump_new_settings
(self)
lib/crewai/tests/cli/test_config.py:96
Method
test_dump_writes_owner_only_file
(self)
lib/cli/tests/test_config.py:164
Method
test_duplicate_initialize_merges_execution_metadata
(self)
lib/crewai/tests/tracing/test_tracing.py:1544
Function
test_duration_is_reported_once_per_run
The stamp is cleared on use, so a repeated completion cannot double-count.
lib/crewai/tests/telemetry/test_flow_telemetry.py:475
Function
test_dynamic_cache_expires_after_catalog_ttl
(monkeypatch)
lib/cli/tests/test_model_catalog.py:588
Function
test_dynamic_router_flow_definition_allows_dynamic_emit
()
lib/crewai/tests/test_flow_definition.py:1250
Function
test_dynamic_router_string_listener_is_valid_contract
()
lib/crewai/tests/test_flow_definition.py:1264
Function
test_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/cli/tests/test_version.py:26
Function
test_dynamic_versioning_consistency
Test that dynamic versioning provides consistent version across all access methods.
lib/crewai/tests/cli/test_version.py:23
Function
test_each_action_accepts_expression_markers_in_explicit_cel_fields
()
lib/crewai/tests/test_flow_from_definition.py:2633
Function
test_each_action_empty_list_returns_empty_and_listener_runs_once
()
lib/crewai/tests/test_flow_from_definition.py:2718
Function
test_each_action_executes_one_nested_code_action
()
lib/crewai/tests/test_flow_from_definition.py:2261
Function
test_each_action_failure_fails_outer_method
()
lib/crewai/tests/test_flow_from_definition.py:2894
Function
test_each_action_if_condition_must_be_boolean
()
lib/crewai/tests/test_flow_from_definition.py:2694
Function
test_each_action_interpolates_item_values_in_step_inputs
()
lib/crewai/tests/test_flow_from_definition.py:2288
Function
test_each_action_loads_from_declaration
()
lib/crewai/tests/test_flow_definition.py:919
Function
test_each_action_preserves_flow_outputs_and_prefers_step_outputs
()
lib/crewai/tests/test_flow_from_definition.py:2552
Function
test_each_action_rejects_nested_each_actions
()
lib/crewai/tests/test_flow_from_definition.py:2857
Function
test_each_action_rejects_non_list_inputs
(expr, inputs)
lib/crewai/tests/test_flow_from_definition.py:2767
Function
test_each_action_resets_step_outputs_between_iterations
()
lib/crewai/tests/test_flow_from_definition.py:2523
Function
test_each_action_runs_async_tool_results_from_sync_steps
()
lib/crewai/tests/test_flow_from_definition.py:2351
Function
test_each_action_runs_simple_if_clauses
()
lib/crewai/tests/test_flow_from_definition.py:2594
Function
test_each_action_runs_sync_steps_off_event_loop_with_context
()
lib/crewai/tests/test_flow_from_definition.py:2324
Function
test_each_action_skipped_if_keeps_previous_output
()
lib/crewai/tests/test_flow_from_definition.py:2660
Function
test_each_action_uses_iteration_outputs_between_steps
()
lib/crewai/tests/test_flow_from_definition.py:2488
Function
test_each_action_validates_step_shape
(action_do)
lib/crewai/tests/test_flow_from_definition.py:2817
Function
test_each_execution_can_disclose_only_its_relevant_skill
Loading one skill must not leak or permanently activate another.
lib/crewai/tests/skills/test_progressive_disclosure.py:170
Function
test_each_interpolation_resolves_from_the_template
Each kickoff re-interpolates the original template; the model follows the role. While the new role is a key it gets that key's model; when it is
lib/crewai/tests/test_llm_overlay.py:226
Function
test_each_invocation_gets_fresh_client
Every tool.run() must create its own MCPClient (no shared state).
lib/crewai/tests/mcp/test_mcp_config.py:187
Function
test_each_node_kicks_off_its_own_agent_with_remote_mcp
(runner, monkeypatch)
lib/crewai/tests/telemetry/test_wharf_runner.py:29
Function
test_each_project_kind_counts_its_start
(project, usage, commands, setup, kind)
lib/cli/tests/test_run_usage.py:205
Function
test_each_providers_key_is_asked_for_once
(project, children, monkeypatch)
lib/cli/tests/test_api_keys.py:230
Function
test_each_result_has_a_separate_private_file
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:32
Function
test_each_scaffolder_reports_the_id_it_minted
The span must carry the value the mint returned, which pins the ordering. Asserting on the minted value rather than merely that the span was emit
lib/crewai/tests/cli/test_project_created_span.py:139
Function
test_each_single_key_provider_names_its_key
( project, children, no_prompt, model, key )
lib/cli/tests/test_api_keys.py:1202
Function
test_each_unlisted_model_gets_its_own_warning
( caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/llms/test_context_window.py:612
Function
test_each_writer_uses_a_temporary_file_of_its_own
Two crews finishing together in one project: neither may replace the other's temporary file.
lib/crewai/tests/telemetry/test_last_run.py:96
Method
test_edge_case_parsing
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:186
Function
test_editor_terminal_is_not_reported_as_an_assistant
An editor's terminal says where a process runs, not who drove it.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:288
Function
test_editor_terminal_requires_exact_value
(clean_env)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:280
Method
test_edits_to_aliased_fields_are_kept
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1132
Method
test_effective_default_is_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:322
Method
test_effective_stop_reflects_override_inside_context
Inside the helper, the effective stop list includes the executor's words.
lib/crewai/tests/agents/test_agent.py:3089
Function
test_egg_info_only_errors_with_targeted_hint
Regression for the case where only src/<name>.egg-info/ exists.
lib/cli/tests/deploy/test_validate.py:456
Method
test_either_terminal_event_consumes_the_stamp
Both paths must report, and both must clear -- a stamp left behind would let a later event report a duration measured from the wrong run.
lib/crewai/tests/telemetry/test_crew_completed_span.py:152
Method
test_embed_batch_empty_input
Test batch embedding with empty input.
lib/crewai-tools/tests/rag/test_embedding_service.py:161
Function
test_embed_batch_makes_one_call_for_many_texts
()
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:100
Method
test_embed_batch_success
Test successful batch embedding.
lib/crewai-tools/tests/rag/test_embedding_service.py:146
Method
test_embed_text_empty_input
Test embedding empty text.
lib/crewai-tools/tests/rag/test_embedding_service.py:129
Method
test_embed_text_success
Test successful text embedding.
lib/crewai-tools/tests/rag/test_embedding_service.py:115
Function
test_embed_texts_accepts_batch_embedding_function
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1231
Function
test_embed_texts_uses_openai_client
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1214
Method
test_embedding_callable_name
(self)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:283
Function
test_embedding_configuration_flow
Test that embedding configuration flows properly to RAG client.
lib/crewai/tests/knowledge/test_knowledge_storage_integration.py:125
Function
test_embedding_model_without_provider_still_defaults_to_qdrant
(created_config)
lib/crewai-tools/tests/tools/rag/test_rag_tool_default_provider.py:46
Function
test_embedding_orders_rows_and_reads_lobs_without_changing_defaults
( monkeypatch, fetch_lobs )
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:376
Function
test_embedding_rejects_long_documents_before_database_call
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:412
Function
test_embedding_rejects_missing_duplicate_and_invalid_ids
(monkeypatch, ids)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:403
Function
test_embeddings_are_ordered_by_response_index
Verify out-of-order embedding responses stay paired with their texts.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:315
Method
test_emission_sequence_monotonic
(self)
lib/crewai/tests/test_event_record.py:223
Method
test_emit_allows_explicit_llm_none
llm=None with emit is the same as omitting llm.
lib/crewai/tests/test_human_feedback_decorator.py:51
Method
test_emit_allows_omitted_llm
emit without an explicit llm is allowed; the engine resolves one later.
lib/crewai/tests/test_human_feedback_decorator.py:37
Function
test_emit_async_handlers_fire_and_forget
()
lib/crewai/tests/utilities/events/test_async_event_bus.py:177
Method
test_emit_is_stored_on_human_feedback_config
Test that emit outcomes are stored on human feedback config.
lib/crewai/tests/test_human_feedback_decorator.py:257
Method
test_emit_uses_call_scoped_stop_override
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:277
Method
test_emits_canceled_event_on_cancellation
Execute emits A2AServerTaskCanceledEvent on CancelledError.
lib/crewai/tests/a2a/utils/test_task.py:237
Method
test_emits_completed_event
Execute emits A2AServerTaskCompletedEvent on success.
lib/crewai/tests/a2a/utils/test_task.py:191
Method
test_emits_failed_event_on_exception
Execute emits A2AServerTaskFailedEvent on exception.
lib/crewai/tests/a2a/utils/test_task.py:213
Method
test_emits_for_every_skill
(self, tmp_path: Path)
lib/crewai/tests/events/test_skill_usage_events.py:114
Method
test_emits_one_event_per_skill_with_agent_and_task_attribution
( self, tmp_path: Path )
lib/crewai/tests/events/test_skill_usage_events.py:87
Method
test_emits_started_event
Execute emits A2AServerTaskStartedEvent.
lib/crewai/tests/a2a/utils/test_task.py:169
Method
test_emitted_during_aexecute_task
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/events/test_skill_usage_events.py:228
Method
test_emitted_during_execute_task
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/events/test_skill_usage_events.py:204
Method
test_empty_and_not_empty
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:349
Method
test_empty_and_repeated_header_cells_get_names
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:455
Method
test_empty_api_key_falls_back_to_env_token
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:46
Method
test_empty_body
(self)
lib/crewai/tests/skills/test_parser.py:36
Function
test_empty_body_is_refused_rather_than_read_as_empty_text
An empty body identifies nothing; it must not read as a successful "". Without an explicit guard it strict-decodes to "" with no NUL byte and
lib/crewai-tools/tests/url_read_tool_test.py:541
Function
test_empty_cell
Keep an empty cell's marker and include it in the cell counts.
lib/crewai-tools/tests/rag/test_notebook_loader.py:123
Method
test_empty_cells_are_a_value_of_their_own
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:505
Function
test_empty_choices_list_is_reported_not_indexerror
`choices: []` used to reach `choices[0]` and raise IndexError.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:279
Method
test_empty_config_file
(self)
lib/cli/tests/test_config.py:146
Method
test_empty_config_file
(self)
lib/crewai/tests/cli/test_config.py:143
← previous
next →
13,201–13,300 of 19,482, ranked by callers