MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Methodtest_file_alias_with_nonexistent_file_raises_error
Test that data_type='file' raises FileNotFoundError for missing files.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:63
Methodtest_file_alias_with_path_keyword
Test that path keyword argument works with data_type='file'.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:70
Methodtest_file_chunk_mode
Test File with chunk mode mode.
lib/crewai/tests/utilities/test_files.py:502
Methodtest_file_custom_mode
Test setting custom mode on file.
lib/crewai-files/tests/processing/test_processor.py:279
Methodtest_file_custom_mode
Test File with custom mode mode.
lib/crewai/tests/utilities/test_files.py:496
Methodtest_file_default_mode
Test File has default mode of 'auto'.
lib/crewai/tests/utilities/test_files.py:490
Methodtest_file_default_mode_is_auto
Test that files default to auto mode.
lib/crewai-files/tests/processing/test_processor.py:274
Methodtest_file_dict_unpacking
Test File supports ** unpacking syntax.
lib/crewai/tests/utilities/test_files.py:435
Methodtest_file_dict_unpacking_no_filename
Test File dict unpacking with bytes (no filename).
lib/crewai/tests/utilities/test_files.py:446
Functiontest_file_exists_error_handling
(tool, temp_env, overwrite)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:157
Methodtest_file_extension
( self, tmp_path: Path, extension: str, expected: DataType, as_path: bool )
lib/crewai-tools/tests/rag/test_data_types.py:54
Methodtest_file_from_path
Test File creation from path string.
lib/crewai/tests/utilities/test_files.py:408
Methodtest_file_from_path_object
Test File creation from Path object.
lib/crewai/tests/utilities/test_files.py:419
Methodtest_file_from_pdf_bytes
Test File creation from PDF bytes auto-detects PDF type.
lib/crewai/tests/utilities/test_files.py:402
Methodtest_file_from_png_bytes
Test File creation from PNG bytes auto-detects image type.
lib/crewai/tests/utilities/test_files.py:389
Methodtest_file_from_text_bytes
Test File creation from text bytes auto-detects content type.
lib/crewai/tests/utilities/test_files.py:382
Methodtest_file_getitem
Test File __getitem__ with valid key.
lib/crewai/tests/utilities/test_files.py:462
Methodtest_file_getitem_invalid_key
Test File __getitem__ with invalid key raises KeyError.
lib/crewai/tests/utilities/test_files.py:471
Methodtest_file_keys_method
Test File keys() method.
lib/crewai/tests/utilities/test_files.py:453
Functiontest_file_mode_is_preserved
The atomic replace must not widen permissions on pyproject.toml.
lib/crewai/tests/telemetry/test_project_id.py:313
Methodtest_file_not_found
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:88
Functiontest_file_not_found_during_zip
(mock_zip, _, tool)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:108
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:429
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
Methodtest_file_with_stream
Test File creation from stream.
lib/crewai/tests/utilities/test_files.py:481
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:163
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
← previousnext →13,601–13,700 of 19,264, ranked by callers