MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_empty_content
(tool, temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:139
Functiontest_empty_content_messages_are_skipped
()
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:187
Functiontest_empty_dataset_reports_none_rates
()
lib/crewai/tests/test_jev_evaluation_runner.py:209
Methodtest_empty_db_result_returns_empty_list
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:424
Methodtest_empty_dict_input_returned_directly
(self)
lib/crewai/tests/utilities/test_agent_utils.py:889
Methodtest_empty_dir
(self)
lib/crewai/tests/test_checkpoint_cli.py:361
Methodtest_empty_directory
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:154
Methodtest_empty_directory
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:57
Methodtest_empty_entities
(self)
lib/crewai/tests/test_checkpoint_cli.py:272
Methodtest_empty_env_var
(self)
lib/crewai/tests/test_context.py:191
Functiontest_empty_export_does_not_send_a_request
(destination)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:181
Methodtest_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
Methodtest_empty_feedback_uses_default_outcome
Test that empty feedback uses default outcome during resume.
lib/crewai/tests/test_async_human_feedback.py:1344
Methodtest_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:323
Methodtest_empty_file
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:43
Methodtest_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
Functiontest_empty_flow_structure
Test building structure for a flow with no methods.
lib/crewai/tests/test_flow_visualization.py:353
Methodtest_empty_initialization
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:32
Methodtest_empty_initialization
(self)
lib/cli/tests/test_config.py:29
Methodtest_empty_initialization
(self)
lib/crewai/tests/cli/test_config.py:26
Methodtest_empty_input
Test normalizing empty input list.
lib/crewai/tests/utilities/test_files.py:373
Functiontest_empty_input_raises
(openai_mock)
lib/crewai/tests/rag/embeddings/test_openai_embedding_function.py:90
Methodtest_empty_input_string
Test handling of empty or None input string.
lib/crewai/tests/utilities/test_string_utils.py:102
Methodtest_empty_inputs_dictionary
Test that an error is raised with empty inputs dictionary.
lib/crewai/tests/utilities/test_string_utils.py:178
Functiontest_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
Functiontest_empty_list_filters_are_rejected
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1291
Methodtest_empty_list_returns_false
(self)
lib/crewai/tests/utilities/test_agent_utils.py:793
Functiontest_empty_logical_and_nested_filters_are_rejected
(operator, children)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1494
Functiontest_empty_marker_value_is_ignored
(clean_env)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:294
Methodtest_empty_name
(self)
lib/crewai/tests/skills/test_registry.py:139
Functiontest_empty_notebook
Return empty content and zero counts when the notebook has no cells.
lib/crewai-tools/tests/rag/test_notebook_loader.py:92
Methodtest_empty_or_missing_title
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:82
Methodtest_empty_or_missing_title
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:82
Methodtest_empty_org
(self)
lib/crewai/tests/skills/test_registry.py:135
Methodtest_empty_platform_tool_ref_raises_with_guidance
(self)
lib/crewai/tests/project/test_json_loader.py:461
Functiontest_empty_prompt_validation
()
lib/crewai-tools/tests/tools/generate_crewai_automation_tool_test.py:60
Methodtest_empty_properties
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:680
Methodtest_empty_query_returns_error_json
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:337
Methodtest_empty_raises
(self)
lib/crewai/tests/skills/test_validation.py:44
Methodtest_empty_record_roundtrip
(self)
lib/crewai/tests/test_event_record.py:281
Methodtest_empty_reply_raises
(self, reply: str | None)
lib/crewai/tests/utilities/test_agent_utils.py:1293
Methodtest_empty_result_after_cleaning
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:177
Methodtest_empty_result_says_so
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str], query
lib/cli/tests/skills/test_main.py:496
Methodtest_empty_return_columns_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:152
Methodtest_empty_schema
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:711
Methodtest_empty_schema_in_anyof_gets_type
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:874
Methodtest_empty_schema_in_oneof_gets_type
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:879
Methodtest_empty_stack_returns_none
(self)
lib/crewai/tests/events/test_event_context.py:35
Methodtest_empty_string_returns_root
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:81
Methodtest_empty_string_returns_unknown
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:56
Methodtest_empty_string_token
(self)
lib/crewai/tests/test_context.py:163
Methodtest_empty_strings
(self)
lib/crewai/tests/memory/test_memory_root_scope.py:115
Functiontest_empty_strings_do_not_trigger_exclusivity
Falsy values never triggered the rule before; keep that behavior.
lib/crewai/tests/utilities/test_guardrail_result_exclusivity.py:44
Methodtest_empty_text
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:175
Methodtest_empty_todo_list
Test empty TodoList properties.
lib/crewai/tests/utilities/test_planning_types.py:171
Methodtest_empty_tools_list
Test with an empty tools list.
lib/crewai/tests/utilities/test_agent_utils.py:549
Methodtest_empty_version
(self)
lib/crewai/tests/skills/test_registry.py:164
Functiontest_enabling_deferred_trace_opens_a_new_flow_root
(traces)
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:353
Methodtest_encodes_bytes
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:215
Methodtest_encodes_date
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:210
Methodtest_encodes_datetime
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:205
Methodtest_encodes_decimal
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:201
Methodtest_encoding_flow_fast_path_with_root_scope
Group A (fast path) items properly prepend root_scope.
lib/crewai/tests/memory/test_memory_root_scope.py:750
Methodtest_encoding_flow_llm_path_with_root_scope
Group C (LLM path) items properly prepend root_scope to inferred scope.
lib/crewai/tests/memory/test_memory_root_scope.py:776
Functiontest_encoding_is_configurable
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:424
Functiontest_encoding_is_configurable
(temp_env)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:427
Functiontest_encoding_override_wins_over_server_charset
An explicit encoding beats whatever the server declares.
lib/crewai-tools/tests/url_read_tool_test.py:165
Functiontest_end_crew_receives_valid_execution_span
Test that end_crew receives a valid execution span to close. This verifies the complete lifecycle: span creation, assignment, and closure wit
lib/crewai/tests/telemetry/test_execution_span_assignment.py:89
Functiontest_end_to_end_fingerprinting
Test end-to-end fingerprinting across Agent, Crew, and Task.
lib/crewai/tests/security/test_integration.py:106
Functiontest_ended_conversation_cannot_enqueue_or_publish_results
()
lib/crewai/tests/test_flow_replies.py:239
Methodtest_enqueues_task_status_update_event
Cancel enqueues TaskStatusUpdateEvent with canceled state.
lib/crewai/tests/a2a/utils/test_task.py:281
Methodtest_enriched_description_includes_constraints
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:615
Methodtest_enriched_description_propagates_to_nested
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:650
Methodtest_enriched_descriptions_for_mcp
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:1034
Functiontest_ensure_first_task_allow_crewai_trigger_context_is_false_does_not_inject
()
lib/crewai/tests/agents/test_agent.py:1092
Functiontest_ensure_lockfile_for_deploy_failure_exits_nonzero
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:71
Functiontest_ensure_lockfile_for_deploy_runs_install_when_lock_missing
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:22
Functiontest_ensure_lockfile_for_deploy_skips_when_lock_exists
(monkeypatch, tmp_path: Path)
lib/cli/tests/deploy/test_deploy_main.py:39
Functiontest_ensure_lockfile_for_deploy_skips_without_pyproject
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:55
Functiontest_enter_skips_the_key_and_the_run_goes_on
( project, children, monkeypatch, capsys )
lib/cli/tests/test_api_keys.py:213
Functiontest_entra_embedding_requires_azure_endpoint
Verify keyless Azure embeddings require an Azure OpenAI endpoint.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:415
Functiontest_entra_embedding_without_oidc_database_uses_default_credential
Verify keyless embeddings work independently of database authentication.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:423
Functiontest_entra_openai_uses_renewable_token_provider
Verify Azure OpenAI receives a renewable bearer-token provider.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:394
Functiontest_entrypoint_resolution_never_imports_agent_sdk
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/crewai-core/tests/test_agent_project_entrypoint.py:72
Methodtest_enum
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:718
Methodtest_enum_values
Test all enum values are accessible.
lib/crewai-files/tests/processing/test_processor.py:263
Functiontest_env_context_precedence_matches_the_shared_table
Both detection paths must agree on which assistant is present. get_env_context previously restated precedence, so a marker added for telemetr
lib/crewai/tests/telemetry/test_coding_agent_detection.py:703
Functiontest_env_context_still_reads_the_shared_table
get_env_context() walks the same table, so both paths stay in agreement.
lib/crewai/tests/telemetry/test_detection_reexports.py:59
Functiontest_env_false_turns_tracing_off_despite_consent
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/tracing/test_tracing_gate_parity.py:47
Functiontest_env_file_round_trips_non_ascii_values
(tmp_path, ascii_default_encoding)
lib/cli/tests/test_utils.py:271
Functiontest_env_filter_hook_runs_after_merge
An extension-supplied env_filter_hook must be applied to the final env.
lib/crewai/tests/mcp/test_stdio_transport.py:86
Methodtest_env_var_absent_keeps_default
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:223
Methodtest_env_var_access_error_handling
(self, mock_getenv)
lib/crewai/tests/test_context.py:196
Methodtest_env_var_case_insensitive
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:218
Methodtest_env_var_enables_dml
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:213
Methodtest_env_var_false_does_not_enable_dml
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:229
Functiontest_env_var_in_dotenv_does_not_warn
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:664
Methodtest_env_var_openrouter_api_key
Test resolving API key from OPENROUTER_API_KEY env var.
lib/crewai/tests/rag/embeddings/test_factory_openrouter.py:135
Functiontest_env_var_referenced_but_missing_warns
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:649
Functiontest_env_vars_are_uppercased_in_env_file
( mock_prompt, mock_select_model, mock_select_provider, mock_get_provider_data, mock_load_
lib/cli/tests/test_create_crew.py:374
← previousnext →13,301–13,400 of 19,482, ranked by callers