MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Methodtest_file_path_keyword_with_data_type
Test file_path keyword argument with data_type.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:364
Functiontest_file_path_validation
Test file path validation for knowledge sources.
lib/crewai/tests/knowledge/test_knowledge.py:546
Methodtest_file_read_text
Test File.read_text method.
lib/crewai/tests/utilities/test_files.py:449
Functiontest_file_read_tool_chunk_error_handling
Test error handling for chunk reading.
lib/crewai-tools/tests/file_read_tool_test.py:127
Functiontest_file_read_tool_chunk_reading
Test FileReadTool reading specific chunks of a file.
lib/crewai-tools/tests/file_read_tool_test.py:87
Functiontest_file_read_tool_constructor
Test FileReadTool initialization with file_path.
lib/crewai-tools/tests/file_read_tool_test.py:34
Functiontest_file_read_tool_constructor_and_run
Test FileReadTool using both constructor and runtime file paths.
lib/crewai-tools/tests/file_read_tool_test.py:69
Functiontest_file_read_tool_error_handling
Test FileReadTool error handling.
lib/crewai-tools/tests/file_read_tool_test.py:55
Functiontest_file_read_tool_error_messages_do_not_disclose_absolute_paths
FileReadTool should redact absolute prefixes from user-visible errors.
lib/crewai-tools/tests/file_read_tool_test.py:177
Functiontest_file_read_tool_invalid_path_error_does_not_disclose_workspace
Validation errors should not echo the resolved workspace path.
lib/crewai-tools/tests/file_read_tool_test.py:204
Functiontest_file_read_tool_run
Test FileReadTool _run method with file_path at runtime.
lib/crewai-tools/tests/file_read_tool_test.py:43
Functiontest_file_read_tool_zero_or_negative_start_line
Test that start_line values of 0 or negative read from the start of the file.
lib/crewai-tools/tests/file_read_tool_test.py:145
Methodtest_file_reference_is_resolved_file
Test FileReference is a ResolvedFile.
lib/crewai-files/tests/test_resolved.py:103
Methodtest_file_reference_with_expiry
Test FileReference with expiry time.
lib/crewai-files/tests/test_resolved.py:80
Methodtest_file_reference_with_uri
Test FileReference with URI.
lib/crewai-files/tests/test_resolved.py:92
Functiontest_file_symlink_outside_cwd_is_rejected
(project: Path, tmp_path: Path)
lib/crewai-files/tests/test_file_path_containment.py:30
Methodtest_file_with_stream
Test File creation from stream.
lib/crewai/tests/utilities/test_files.py:501
Methodtest_file_without_isatty_renders_final_panel_once
( self, clean_terminal_env: pytest.MonkeyPatch )
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:262
Methodtest_filename_encodes_parent_id
(self)
lib/crewai/tests/test_checkpoint.py:469
Methodtest_filename_from_stream
Test filename extraction from stream with name attribute.
lib/crewai/tests/utilities/test_files.py:165
Functiontest_files_whose_names_differ_only_in_case_are_told_apart
(downloads)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1183
Methodtest_filter_attributes_are_preserved
Test that filter attributes are preserved on methods.
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:388
Methodtest_filter_by_and_filter_value_added_to_params
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:447
Methodtest_filter_by_names
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:175
Methodtest_filter_by_skill_names
(self, tmp_path: Path)
lib/crewai/tests/skills/test_integration.py:45
Methodtest_filter_by_without_filter_value_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:116
Functiontest_filter_is_scoped_to_the_exporting_thread
A user's exporter logging while ours is mid-retry on another thread is kept.
lib/crewai-core/tests/test_telemetry_export_logs.py:83
Methodtest_filter_value_without_filter_by_raises
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:120
Methodtest_filter_where
(self)
lib/crewai-tools/tests/tools/tool_collection_test.py:206
Functiontest_filter_with_nonexistent_tool
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:177
Functiontest_filter_with_only_nonexistent_tools
(echo_server_script)
lib/crewai-tools/tests/adapters/mcp_adapter_test.py:188
Methodtest_filters_hyphenated_tool_name
https://...#get-page must match the sanitized key get_page in schemas.
lib/crewai/tests/mcp/test_amp_mcp.py:485
Functiontest_filters_json_builds_oracle_where_clause
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:457
Functiontest_filters_quote_spaced_member_names
(operator)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1462
Functiontest_filters_reject_invalid_path_syntax
(key)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1475
Functiontest_filters_that_are_not_json_are_explained
(sales_tools)
lib/crewai/tests/agents/test_agent_spreadsheets.py:1236
Methodtest_filters_underscored_tool_name
https://...#get_page must also match the sanitized key get_page.
lib/crewai/tests/mcp/test_amp_mcp.py:504
Functiontest_final_answer_that_fits_makes_no_extra_call
(mode: str, native: bool)
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:234
Methodtest_final_output_is_method_return_not_collapsed_outcome
When @human_feedback with emit is the final method, flow output is the method's return value.
lib/crewai/tests/test_human_feedback_decorator.py:1168
Methodtest_finalization_raising_reports_nothing
(self)
lib/crewai/tests/tracing/test_tracing.py:1652
Methodtest_finalize_backend_batch_is_serialized
Concurrent finalizers must only call the backend once.
lib/crewai/tests/tracing/test_tracing.py:751
Methodtest_finalize_backend_batch_uses_captured_batch_id_for_ephemeral_panel
Finalization output must not render None if manager state is reset.
lib/crewai/tests/tracing/test_tracing.py:713
Methodtest_finalize_batch_clears_buffer_after_successful_send
Successful send must not restore a stale event buffer (duplicate events).
lib/crewai/tests/tracing/test_tracing.py:670
Methodtest_finalize_batch_is_idempotent
(self)
lib/crewai/tests/test_flow_conversation.py:1955
Methodtest_finalize_called_reset_in_invoke
(self)
lib/crewai/tests/agents/test_agent_executor.py:3188
Methodtest_finalize_called_reset_in_invoke_async
(self)
lib/crewai/tests/agents/test_agent_executor.py:3199
Methodtest_finalize_failure
Test finalize skips when given AgentAction instead of AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:643
Methodtest_finalize_keeps_synthesis_when_response_model_is_set
Finalize should still synthesize when response_model is configured.
lib/crewai/tests/agents/test_agent_executor.py:699
Methodtest_finalize_session_traces_emits_finished_without_legacy_batch
Deferred finalization emits one terminal event without legacy upload.
lib/crewai/tests/test_flow_conversation.py:1373
Methodtest_finalize_session_traces_is_idempotent
Calling ``finalize_session_traces()`` twice emits flow_finished once. The stashed ``_deferred_flow_started_event_id`` is cleared after the
lib/crewai/tests/test_flow_conversation.py:1988
Methodtest_finalize_session_traces_is_noop_when_not_deferred
Without deferral, ``finalize_session_traces()`` must not re-emit. Each per-turn ``handle_turn()`` already emits its own ``flow_finish
lib/crewai/tests/test_flow_conversation.py:1490
Methodtest_finalize_session_traces_restores_event_scope
No ``empty scope stack`` warning when deferred ``flow_finished`` fires. The first turn's ``flow_started`` event id is stashed on the flow
lib/crewai/tests/test_flow_conversation.py:1454
Methodtest_finalize_skips_synthesis_for_strong_last_todo_result
Finalize should skip synthesis when last todo is already a complete answer.
lib/crewai/tests/agents/test_agent_executor.py:655
Methodtest_finalize_success
Test finalize with valid AgentFinish.
lib/crewai/tests/agents/test_agent_executor.py:629
Functiontest_find_http_status_from_cancelled_error_with_context
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:80
Functiontest_find_http_status_from_exception_group
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:88
Functiontest_find_http_status_from_httpx_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:68
Functiontest_find_http_status_from_typed_connection_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:74
Functiontest_find_json_project_file_prefers_jsonc
(tmp_path: Path)
lib/crewai/tests/project/test_json_loader.py:73
Functiontest_find_transport_failure_ignores_teardown_noise
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:95
Functiontest_find_transport_failure_returns_underlying_http_error
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:102
Methodtest_finds_valid_skills
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:33
Functiontest_fingerprint_created_at_cannot_be_set
Test that created_at cannot be manually set.
lib/crewai/tests/security/test_fingerprint.py:45
Functiontest_fingerprint_creation_with_defaults
Test creating a Fingerprint with default values.
lib/crewai/tests/security/test_fingerprint.py:11
Functiontest_fingerprint_creation_with_metadata
Test creating a Fingerprint with custom metadata only.
lib/crewai/tests/security/test_fingerprint.py:24
Functiontest_fingerprint_deterministic_generation
Test that the same seed string always generates the same fingerprint using generate method.
lib/crewai/tests/security/test_fingerprint.py:63
Functiontest_fingerprint_equality
Test fingerprint equality comparison.
lib/crewai/tests/security/test_fingerprint.py:102
Functiontest_fingerprint_from_dict
Test creating fingerprint from dictionary.
lib/crewai/tests/security/test_fingerprint.py:142
Functiontest_fingerprint_generate_classmethod
Test the generate class method.
lib/crewai/tests/security/test_fingerprint.py:77
Functiontest_fingerprint_hash
Test that fingerprints can be used as dictionary keys.
lib/crewai/tests/security/test_fingerprint.py:114
Functiontest_fingerprint_json_serialization
Test that Fingerprint can be JSON serialized and deserialized.
lib/crewai/tests/security/test_fingerprint.py:162
Functiontest_fingerprint_metadata_example
Test using the Fingerprint's metadata for additional information.
lib/crewai/tests/security/test_examples.py:71
Functiontest_fingerprint_metadata_mutation
Test that metadata can be modified after fingerprint creation.
lib/crewai/tests/security/test_fingerprint.py:199
Functiontest_fingerprint_persistence
Test that fingerprints persist and don't change.
lib/crewai/tests/security/test_integration.py:142
Functiontest_fingerprint_string_representation
Test the string representation of Fingerprint.
lib/crewai/tests/security/test_fingerprint.py:93
Functiontest_fingerprint_to_dict
Test converting fingerprint to dictionary.
lib/crewai/tests/security/test_fingerprint.py:127
Functiontest_fingerprint_uuid_cannot_be_set
Test that uuid_str cannot be manually set.
lib/crewai/tests/security/test_fingerprint.py:35
Functiontest_fingerprint_uuid_property
Test the uuid property returns a UUID object.
lib/crewai/tests/security/test_fingerprint.py:55
Functiontest_fingerprint_with_security_config
Test example of using a SecurityConfig with components.
lib/crewai/tests/security/test_examples.py:86
Methodtest_finished_event_carries_failure_under_warn
(self)
lib/crewai/tests/tools/test_tool_failure.py:870
Methodtest_finished_event_carries_no_failure_under_ignore
(self)
lib/crewai/tests/tools/test_tool_failure.py:853
Methodtest_finished_event_carries_the_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:406
Functiontest_finished_event_reports_a_cache_hit
The finished event should say the cache answered, not that the tool ran.
lib/crewai/tests/agents/test_native_tool_hook_contract.py:185
Functiontest_firecrawl_agent_sends_only_basic_mcp_arguments
(runner, monkeypatch)
lib/crewai/tests/telemetry/test_wharf_runner.py:70
Functiontest_firecrawl_crawl_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_crawl_website_tool_test.py:8
Functiontest_firecrawl_scrape_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_scrape_website_tool_test.py:8
Functiontest_firecrawl_search_tool_integration
()
lib/crewai-tools/tests/tools/firecrawl_search_tool_test.py:7
Methodtest_first_blocking_hook_stops_execution
Test that first hook returning False blocks execution.
lib/crewai/tests/hooks/test_tool_hooks.py:340
Methodtest_first_event_has_previous_pointing_back
Non-first events should have previous_event_id set.
lib/crewai/tests/events/test_event_ordering.py:583
Functiontest_first_party_tool_type_restores_in_a_fresh_process
Resuming a checkpoint must not need the opt-in for crewai's own tools.
lib/crewai/tests/tools/test_deserialization_guard.py:61
Functiontest_first_task_auto_inject_trigger
()
lib/crewai/tests/agents/test_agent.py:1059
Functiontest_first_time_execution_uses_local_session_even_with_saved_credentials
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:700
Methodtest_first_time_handler_graceful_error_handling
Test graceful error handling in first-time trace logic
lib/crewai/tests/tracing/test_tracing.py:606
Methodtest_first_time_handler_path_reports_ephemeral_sent
The first-time flow finalizes through its own caller, not finalize_batch.
lib/crewai/tests/tracing/test_tracing.py:1693
Methodtest_first_time_handler_timeout_behavior
Test the timeout behavior of the first-time trace prompt
lib/crewai/tests/tracing/test_tracing.py:573
Functiontest_first_time_preference_contains_only_completion_and_consent
( collector, monkeypatch, approved )
lib/crewai/tests/telemetry/test_session_trace_export.py:682
Methodtest_first_time_user_trace_collection_user_accepts
First-run approval exports the collected trace and remembers consent.
lib/crewai/tests/tracing/test_tracing.py:523
Methodtest_first_time_user_trace_collection_with_timeout
No first-run consent means no grant or exported execution spans.
lib/crewai/tests/tracing/test_tracing.py:500
Methodtest_first_time_user_trace_consolidation_logic
First-run collection uses one local session even with saved credentials.
lib/crewai/tests/tracing/test_tracing.py:546
Functiontest_first_time_uses_local_session_even_with_saved_login
( in_memory_grant_collectors, monkeypatch, approved )
lib/crewai/tests/telemetry/test_trace_lifecycle.py:270
← previousnext →13,901–14,000 of 19,735, ranked by callers