Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Method
test_pre_review_failure_strict_reraises
When learn_strict=True, pre-review failures propagate instead of falling back.
lib/crewai/tests/test_human_feedback_decorator.py:808
Function
test_precedence_matches_get_env_context
The two signals must agree on which assistant is present.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:146
Method
test_prefers_an_installed_client
A hosted runtime installs a client; the default must not be built, since looking up a user credential raises when there isn't one.
lib/crewai/tests/utilities/test_agent_utils.py:1146
Method
test_prefers_project_local_skill_over_cached_skill
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:196
Function
test_prefixed_models_with_invalid_constants_use_litellm
Test that models with native provider prefixes use LiteLLM when model is NOT in constants and does NOT match patterns.
lib/crewai/tests/test_llm.py:1065
Function
test_prefixed_models_with_non_native_providers_use_litellm
Test that models with non-native provider prefixes always use LiteLLM.
lib/crewai/tests/test_llm.py:1101
Function
test_prefixed_models_with_valid_constants_use_native_sdk
Test that models with native provider prefixes use native SDK when model is in constants.
lib/crewai/tests/test_llm.py:1044
Function
test_prefixed_models_with_valid_patterns_use_native_sdk
Test that models matching provider patterns use native SDK even if not in constants.
lib/crewai/tests/test_llm.py:1086
Function
test_preparation_retry_during_playback_preserves_lease_and_completion
()
lib/crewai/tests/test_flow_replies.py:273
Method
test_prepare_clears_stale_last_intent
(self)
lib/crewai/tests/test_flow_conversation.py:113
Method
test_prepare_completion_params_preserves_markers_in_input
(self)
lib/crewai/tests/llms/test_prompt_cache.py:211
Method
test_prepare_completion_params_strips_marker
(self)
lib/crewai/tests/llms/test_prompt_cache.py:200
Method
test_prepare_completion_params_uses_snowflake_model_name
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:133
Method
test_prepare_documents_generate_ids
Test preparing documents without doc_ids (should generate hashes).
lib/crewai/tests/rag/chromadb/test_utils.py:130
Method
test_prepare_documents_hash_consistency
Test that identical content produces identical hashes.
lib/crewai/tests/rag/chromadb/test_utils.py:166
Method
test_prepare_documents_no_metadata
Test preparing documents without metadata.
lib/crewai/tests/rag/chromadb/test_utils.py:155
Method
test_prepare_documents_with_doc_ids
Test preparing documents that already have doc_ids.
lib/crewai/tests/rag/chromadb/test_utils.py:109
Method
test_prepare_documents_with_list_metadata
Test preparing documents with list metadata (should take first item).
lib/crewai/tests/rag/chromadb/test_utils.py:144
Method
test_prepare_git_repository_returns_repo_when_init_commit_fails
( self, mock_repository )
lib/cli/tests/deploy/test_deploy_main.py:1465
Function
test_prepare_kickoff_binds_task_only_agent_to_crew
Agents referenced only via task.agent must get .crew set during prepare_kickoff. Regression for crewAIInc/crewAI#5534: when Crew is built without
lib/crewai/tests/test_crew.py:5435
Function
test_prepare_kickoff_binds_the_executor_to_the_re_resolved_llm
The real kickoff ordering: interpolate, then set up the agents' executors.
lib/crewai/tests/test_llm_overlay.py:512
Function
test_prepare_kickoff_extracts_files_from_messages
Test that _prepare_kickoff extracts files from messages.
lib/crewai/tests/agents/test_lite_agent.py:936
Function
test_prepare_kickoff_merges_files_from_messages_and_parameter
Test that _prepare_kickoff merges files from messages and parameter.
lib/crewai/tests/agents/test_lite_agent.py:977
Function
test_prepare_kickoff_param_files_override_message_files
Test that files parameter overrides files from messages with same name.
lib/crewai/tests/agents/test_lite_agent.py:1024
Function
test_prepare_output_makes_dir
(mock_exists, mock_makedirs)
lib/crewai-tools/tests/tools/files_compressor_tool_test.py:127
Function
test_prepare_project_for_deploy_blocks_install_when_validation_fails
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:104
Function
test_prepare_project_for_deploy_creates_missing_lock_after_validation
( monkeypatch, tmp_path: Path )
lib/cli/tests/deploy/test_deploy_main.py:142
Method
test_preserve_aspect_ratio
Test that aspect ratio is preserved during resize.
lib/crewai-files/tests/processing/test_transformers.py:71
Method
test_preserves_arbitrary_extras
(self)
lib/devtools/tests/test_toml_updates.py:357
Method
test_preserves_comment_markers_inside_strings
(self)
lib/crewai/tests/project/test_json_loader.py:43
Method
test_preserves_comments_and_formatting
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:269
Method
test_preserves_default_values
Test that default values are preserved in the schema.
lib/crewai/tests/utilities/test_agent_utils.py:631
Method
test_preserves_existing_cortex_base_url
(self)
lib/crewai/tests/llms/snowflake/test_snowflake.py:35
Method
test_preserves_existing_headers
Test that interceptor preserves existing headers.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:217
Method
test_preserves_existing_v1
Test that existing /v1 is preserved.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:116
Method
test_preserves_field_descriptions
Test that field descriptions are preserved in the schema.
lib/crewai/tests/utilities/test_agent_utils.py:619
Method
test_preserves_ids_and_sequence
(self)
lib/crewai/tests/events/test_event_replay.py:32
Method
test_preserves_listen_method_definition
Test that @human_feedback preserves the @listen method definition.
lib/crewai/tests/test_human_feedback_decorator.py:237
Method
test_preserves_non_matching_braces
Test that non-matching braces patterns are preserved.
lib/crewai/tests/utilities/test_string_utils.py:133
Method
test_preserves_order
(self)
lib/crewai/tests/tools/test_tool_failure.py:1041
Method
test_preserves_start_method_attributes
Test that @human_feedback preserves @start decorator attributes.
lib/crewai/tests/test_human_feedback_decorator.py:221
Method
test_preserves_surrounding_text
(self)
lib/devtools/tests/test_toml_updates.py:415
Method
test_preserves_urls_with_double_slash
(self)
lib/crewai/tests/project/test_json_loader.py:37
Function
test_presigned_octet_stream_docx_is_read_from_its_bytes
A DOCX behind the same extensionless presigned link is extracted.
lib/crewai-tools/tests/url_read_tool_test.py:414
Function
test_presigned_octet_stream_pdf_is_read_from_its_bytes
The reported failure: octet-stream, no extension, real PDF bytes. Presigned object-store links from the SharePoint connector use a content ha
lib/crewai-tools/tests/url_read_tool_test.py:394
Function
test_presigned_octet_stream_xlsx_is_read_from_its_bytes
The reported file: an XLSX behind an extensionless presigned link.
lib/crewai-tools/tests/url_read_tool_test.py:617
Function
test_pressing_evaluate_again_opens_the_report_it_already_made
One evaluation per run: the second press is somebody looking for the report, not asking to pay for another.
lib/cli/tests/test_crew_run_tui.py:320
Function
test_pressing_evaluate_on_an_untraced_run_counts_the_press_and_nothing_else
It is not a stop: the run happens again, and `crewai eval` counts why it ran the crew (`eval_ran_crew:run_again`) and how that ended.
lib/cli/tests/test_crew_run_tui.py:2941
Method
test_previous_event_id_chain
Events should have previous_event_id pointing to the prior event.
lib/crewai/tests/events/test_event_ordering.py:525
Method
test_previous_next_bidirectional
(self)
lib/crewai/tests/test_event_record.py:147
Method
test_print_crew_evaluation_result
(self, table, console, crew_planner)
lib/crewai/tests/utilities/evaluators/test_crew_evaluator_handler.py:82
Method
test_print_crew_evaluation_result_row_cell_count
Continuation and separator rows must match the dynamic column count. Regression test for https://github.com/crewAIInc/crewAI/issues/8024:
lib/crewai/tests/utilities/evaluators/test_crew_evaluator_handler.py:132
Function
test_print_current_organization_with_org
(mock_settings, capsys, tool_command)
lib/cli/tests/tools/test_main.py:539
Function
test_print_current_organization_without_org
(mock_settings, capsys, tool_command)
lib/cli/tests/tools/test_main.py:550
Function
test_printer_emits_when_not_suppressed
(capsys: pytest.CaptureFixture[str])
lib/crewai-core/tests/test_smoke.py:43
Function
test_printer_respects_suppression
(capsys: pytest.CaptureFixture[str])
lib/crewai-core/tests/test_smoke.py:49
Method
test_prints_during_stream_do_not_repeat_panel
( self, clean_terminal_env: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str],
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:277
Method
test_prints_the_ref_form_for_the_current_organization
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:410
Function
test_prior_turn_attachments_are_not_resent_on_this_turn
History keeps its own files; unioning them all would send them twice.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:276
Function
test_prior_turns_keep_their_roles
Joining them into one string told the model the agent said the user's words.
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:70
Method
test_private_address_is_rejected_before_fetch
(self)
lib/crewai-tools/tests/rag/test_text_loaders.py:152
Method
test_private_agent_results_stay_out_of_shared_history
(self)
lib/crewai/tests/test_flow_conversation.py:310
Function
test_private_agent_return_does_not_become_public_reply
()
lib/crewai/tests/test_flow_turns.py:313
Method
test_private_attribute_left_at_its_default_is_still_reviewed
(self)
lib/crewai/tests/test_human_feedback_decorator.py:1122
Method
test_private_connection_selects_clipper_api
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:276
Function
test_private_record_still_visible_to_its_source_and_when_included
The tightening must not hide private records from legitimate access.
lib/crewai/tests/memory/test_unified_memory.py:1390
Function
test_private_record_without_source_does_not_leak
A private record saved with source=None must not be visible to default (source=None, include_private=False) recalls. The filter used to be `n
lib/crewai/tests/memory/test_unified_memory.py:1369
Method
test_privately_recorded_result_is_not_republished
A handler that records privately and hands the object back. ``append_agent_result`` defaults to private and does not set the reply fl
lib/crewai/tests/test_flow_conversation.py:3594
Method
test_process_field_value_float
(self)
lib/crewai/tests/utilities/test_training_converter.py:94
Method
test_process_field_value_list_with_bullet_points
(self)
lib/crewai/tests/utilities/test_training_converter.py:82
Method
test_process_field_value_list_with_json
(self)
lib/crewai/tests/utilities/test_training_converter.py:87
Method
test_process_field_value_string
(self)
lib/crewai/tests/utilities/test_training_converter.py:77
Method
test_process_files_empty
Test processing empty files dict.
lib/crewai-files/tests/processing/test_processor.py:251
Method
test_process_files_multiple
Test processing multiple files.
lib/crewai-files/tests/processing/test_processor.py:233
Method
test_process_strict_raises_on_error
Test STRICT mode raises on processing error.
lib/crewai-files/tests/processing/test_processor.py:200
Method
test_process_valid_file
Test processing a valid file returns it unchanged.
lib/crewai-files/tests/processing/test_processor.py:182
Method
test_process_warn_returns_file
Test WARN mode returns file with warning.
lib/crewai-files/tests/processing/test_processor.py:214
Method
test_process_without_constraints
Test processing without constraints returns file unchanged.
lib/crewai-files/tests/processing/test_processor.py:191
Function
test_processes_using_the_default_folder_do_not_collide
(tmp_path, monkeypatch)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:169
Method
test_processing_error_handling
(self, temp_directory)
lib/crewai-tools/tests/rag/test_directory_loader.py:112
Method
test_processor_respects_file_mode
Test processor uses each file's mode setting.
lib/crewai-files/tests/processing/test_processor.py:286
Function
test_produces_valid_toml_for_varied_layouts
(tmp_path, source, label)
lib/crewai/tests/telemetry/test_project_id.py:98
Function
test_programmatic_create_agent_defaults_to_json_config
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_create_agent.py:405
Function
test_project_attributes_read_a_non_ascii_pyproject
(tmp_path: Path)
lib/crewai-core/tests/test_project.py:8
Function
test_project_bootstrap_dispatches_agent_with_unchanged_history
(tmp_path, failure)
lib/cli/tests/test_run_agent.py:166
Function
test_project_bootstrap_ends_an_aborted_agent_run_as_aborted
(tmp_path)
lib/cli/tests/test_run_agent.py:367
Function
test_project_created_span_carries_kind_and_the_minted_id
(recorded_spans)
lib/crewai/tests/cli/test_project_created_span.py:76
Function
test_project_default_does_not_change_generic_loader
(data_project)
lib/crewai/tests/project/test_agent_project.py:345
Function
test_project_environment_preserves_json_validation_errors
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/deploy/test_cli_only_install.py:115
Function
test_project_honors_explicit_conversational_config
(data_project, extension, enabled)
lib/crewai/tests/project/test_agent_project.py:340
Function
test_project_id_is_empty_rather_than_absent_when_undeclared
An undeclared project reports an EMPTY id, not a missing key. This used to assert the key was omitted. It is now always present, because abse
lib/crewai/tests/telemetry/test_coding_agent_detection.py:550
Function
test_project_id_lookup_never_breaks_telemetry
A failed lookup degrades to an empty id, and never to a raised exception.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:569
Function
test_project_id_lookups_default_to_the_cwd_pyproject
(tmp_path, monkeypatch)
lib/cli/tests/test_utils.py:123
Function
test_project_names_do_not_collide
(project, tmp_path)
lib/crewai/tests/project/test_agent_project.py:65
Function
test_project_skill_paths_are_independent_of_cwd
( data_project, extension, monkeypatch, tmp_path )
lib/crewai/tests/project/test_agent_project.py:148
Method
test_promotes_to_instructions
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:120
Method
test_promotes_to_instructions
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:75
Method
test_promotes_to_resources
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:229
Function
test_prompt_file
()
lib/crewai/tests/utilities/test_i18n.py:36
Function
test_prompt_for_inputs_keeps_prompt_chrome_on_stderr
Real Click prompts must leave stdout available for serialized results.
lib/cli/tests/test_input_prompt.py:102
← previous
next →
16,901–17,000 of 19,663, ranked by callers