Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
Function
test_each_action_rejects_non_list_inputs
(expr, inputs)
lib/crewai/tests/test_flow_from_definition.py:2881
Function
test_each_action_resets_step_outputs_between_iterations
()
lib/crewai/tests/test_flow_from_definition.py:2637
Function
test_each_action_runs_async_tool_results_from_sync_steps
()
lib/crewai/tests/test_flow_from_definition.py:2465
Function
test_each_action_runs_simple_if_clauses
()
lib/crewai/tests/test_flow_from_definition.py:2708
Function
test_each_action_runs_sync_steps_off_event_loop_with_context
()
lib/crewai/tests/test_flow_from_definition.py:2438
Function
test_each_action_skipped_if_keeps_previous_output
()
lib/crewai/tests/test_flow_from_definition.py:2774
Function
test_each_action_uses_iteration_outputs_between_steps
()
lib/crewai/tests/test_flow_from_definition.py:2602
Function
test_each_action_validates_step_shape
(action_do)
lib/crewai/tests/test_flow_from_definition.py:2931
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_pause_carries_its_own_chat_confirmation_id
(db)
lib/crewai/tests/agents/test_tool_approval.py:299
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_turn_signs_its_tool_list_and_tool_call_for_the_user_in_its_state
( mcp_server, tmp_path )
lib/crewai/tests/mcp/test_mcp_auth.py:160
Function
test_each_unlisted_model_gets_its_own_warning
( caplog: pytest.LogCaptureFixture, )
lib/crewai/tests/llms/test_context_window.py:616
Method
test_each_use_extends_the_login_by_another_72_hours
( self, endpoint: FakeTokenEndpoint, wall_clock: WallClock )
lib/crewai-core/tests/test_auth_refresh.py:752
Function
test_each_way_a_login_stops_is_counted_once_and_still_raised
Counting must not change what the person sees: the error still escapes.
lib/cli/tests/authentication/test_login_usage.py:208
Function
test_each_way_a_login_stops_is_counted_once_and_still_raised
Counting must not change what the person sees: the error still escapes.
lib/crewai/tests/cli/authentication/test_login_usage.py:208
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:1146
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:3093
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:52
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:38
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:271
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_answer_still_takes_the_first_option
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1439
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
Function
test_empty_content
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:139
Function
test_empty_content_messages_are_skipped
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:187
Function
test_empty_dataset_reports_none_rates
()
lib/crewai/tests/test_jev_evaluation_runner.py:209
Method
test_empty_db_result_returns_empty_list
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:424
Method
test_empty_dict_input_returned_directly
(self)
lib/crewai/tests/utilities/test_agent_utils.py:972
Method
test_empty_dir
(self)
lib/crewai/tests/test_checkpoint_cli.py:361
Method
test_empty_directory
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:154
Method
test_empty_directory
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:57
Method
test_empty_entities
(self)
lib/crewai/tests/test_checkpoint_cli.py:272
Method
test_empty_env_var
(self)
lib/crewai/tests/test_context.py:191
Function
test_empty_export_does_not_send_a_request
(destination)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:181
Method
test_empty_feedback_first_outcome_fallback
Test that empty feedback without default uses first outcome for routing, but returns method output.
lib/crewai/tests/test_human_feedback_integration.py:706
Method
test_empty_feedback_uses_default_outcome
Test that empty feedback uses default outcome during resume.
lib/crewai/tests/test_async_human_feedback.py:1345
Method
test_empty_feedback_with_default_outcome
Test empty feedback uses default_outcome for routing, but flow returns method output.
lib/crewai/tests/test_human_feedback_decorator.py:337
Method
test_empty_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:43
Method
test_empty_filter_by_bypasses_where_clause
Empty string is falsy in Python — _run skips WHERE rather than injecting. The actual guard lives in DB2ToolSchema (schema-level validation).
lib/crewai-tools/tests/tools/test_db2_search_tool.py:574
Function
test_empty_flow_structure
Test building structure for a flow with no methods.
lib/crewai/tests/test_flow_visualization.py:353
Method
test_empty_initialization
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:32
Method
test_empty_initialization
(self)
lib/cli/tests/test_config.py:29
Method
test_empty_initialization
(self)
lib/crewai/tests/cli/test_config.py:26
Method
test_empty_input
Test normalizing empty input list.
lib/crewai/tests/utilities/test_files.py:393
Function
test_empty_input_raises
(openai_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:90
Method
test_empty_input_string
Test handling of empty or None input string.
lib/crewai/tests/utilities/test_string_utils.py:102
Method
test_empty_inputs_dictionary
Test that an error is raised with empty inputs dictionary.
lib/crewai/tests/utilities/test_string_utils.py:178
Function
test_empty_jsonl_is_not_stored
Empty loader output does not produce embeddings or documents.
lib/crewai-tools/tests/rag/test_rag_core_jsonl.py:141
Function
test_empty_list_filters_are_rejected
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1291
Method
test_empty_list_returns_false
(self)
lib/crewai/tests/utilities/test_agent_utils.py:815
Function
test_empty_logical_and_nested_filters_are_rejected
(operator, children)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1494
Function
test_empty_marker_value_is_ignored
(clean_env)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:294
← previous
next →
14,101–14,200 of 20,757, ranked by callers