Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_collections_are_isolated_by_name
(topic_embedder)
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:81
Method
test_collector_is_execution_scoped
(self)
lib/crewai/tests/tools/test_tool_failure.py:1411
Method
test_columns_past_the_cap_are_cut_and_counted
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:565
Function
test_combined_class_and_method_persist_saves_once_per_method
()
lib/crewai/tests/test_flow_from_definition.py:3923
Method
test_combined_constraints
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:793
Method
test_comma_files_read_thousands_separators
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:534
Function
test_command_backfills_project_id
(runner, name, argv)
lib/crewai/tests/cli/test_project_id_backfill.py:62
Function
test_command_fails_when_sessions_give_no_answer
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:208
Function
test_command_fails_when_the_branch_teaches_less
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:176
Function
test_command_passes_when_the_branch_holds_or_improves
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:189
Function
test_command_prints_brackets_in_items_and_reasons_as_text
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:217
Function
test_command_reads_the_head_file_at_the_ref_it_is_given
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:241
Function
test_command_rejects_a_malformed_model
(spec)
lib/devtools/tests/test_agents_md_eval.py:270
Function
test_command_respects_a_custom_max_drop
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:197
Function
test_command_without_codex_needs_no_openai_key
(monkeypatch)
lib/devtools/tests/test_agents_md_eval.py:261
Function
test_commands_that_need_a_login_exit_1_when_logged_out
(runner, args)
lib/cli/tests/test_cli.py:1052
Method
test_comment_markers_inside_string_literals_are_also_blocked
Literal-aware scanning disagreed with identifier quoting; refuse instead.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:646
Method
test_commented_read_query_is_also_blocked
(self, query)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:641
Method
test_commented_statement_is_blocked
(self, query)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:632
Method
test_commented_write_is_committed_when_dml_is_allowed
DELETE/**/FROM is a DELETE, so allow_dml=True must commit it.
lib/crewai-tools/tests/tools/test_nl2sql_security.py:667
Function
test_comments_and_formatting_are_preserved
Raw-text editing rather than a TOML round-trip, so comments survive.
lib/crewai/tests/telemetry/test_project_id.py:72
Method
test_comments_are_allowed_when_dml_is_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:663
Function
test_common_attributes_are_computed_once
The project file must not be re-read for each provider.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:601
Function
test_common_attributes_carry_agent_and_runtime
Both fields ride on every span, independently of each other.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:533
Function
test_common_attributes_include_project_id_when_declared
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:544
Function
test_common_attributes_land_on_our_own_spans
Spans built from our own provider must carry the process-wide context.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:466
Function
test_common_attributes_processor_never_breaks_span_creation
A failure applying attributes must not propagate into user execution.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:438
Function
test_common_refinement_strips_null_like_values
_common_payload_refinement drops optional keys with None / '' / 'null' / [].
lib/crewai-tools/tests/tools/brave_search_tool_test.py:348
Function
test_compaction_failure_does_not_block_a_valid_call
(failure_source: str)
lib/crewai/tests/test_flow_context_compaction.py:180
Function
test_compaction_setting_survives_declaration_roundtrip
(enabled: bool)
lib/crewai/tests/test_flow_context_compaction.py:223
Method
test_compare_with_baseline_matches_a_utf8_file_under_a_non_utf8_default
The same test identifier must match, whatever the platform default is. `open()` without an encoding uses ``locale.getpreferredencoding(False)
lib/crewai/tests/experimental/evaluation/test_experiment_result.py:115
Function
test_comparing_models_happens_from_the_project
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2008
Function
test_comparing_models_needs_the_login
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1997
Method
test_compatibility_properties
Test compatibility properties for mixin.
lib/crewai/tests/agents/test_agent_executor.py:1143
Function
test_complete_workflow_example
Test the complete workflow example from the documentation.
lib/crewai/tests/security/test_examples.py:109
Method
test_completed_count
Test completed_count returns correct count.
lib/crewai/tests/utilities/test_planning_types.py:236
Function
test_completed_flow_reports_a_real_duration
Elapsed time must be measured, not merely present.
lib/crewai/tests/telemetry/test_flow_telemetry.py:411
Function
test_completed_flow_reports_its_outcome
Outcome is a lifecycle fact, so it belongs on a span, not a feature.
lib/crewai/tests/telemetry/test_flow_telemetry.py:190
Function
test_completed_payload_carries_the_whole_output
()
lib/crewai/tests/tracing/test_trace_agent_prompt_output.py:51
Function
test_completed_run_keeps_activity_log_keyboard_navigation_active
()
lib/cli/tests/test_crew_run_tui.py:2042
Function
test_completed_spans_release_payloads_without_losing_parent_identity
()
lib/crewai/tests/telemetry/test_event_trace_session.py:106
Function
test_completed_text_can_be_fenced_without_changing_generation_or_jobs
()
lib/crewai/tests/test_flow_turns.py:158
Function
test_completion_must_commit_and_duplicates_coalesce_without_replay
()
lib/crewai/tests/test_flow_replies.py:87
Method
test_completions_call_unchanged
Default api='completions' should not use the responses delegate.
lib/crewai/tests/llms/azure/test_azure_responses.py:235
Method
test_completions_clients_not_created_in_responses_mode
When api='responses', azure-ai-inference clients should not be created.
lib/crewai/tests/llms/azure/test_azure_responses.py:103
Function
test_complex_and_or_branching
Test complex branching with multiple AND and OR conditions.
lib/crewai/tests/test_flow.py:1403
Function
test_complex_component_hierarchy_with_deterministic_fingerprints
Test a complex hierarchy of components all using deterministic fingerprints.
lib/crewai/tests/security/test_deterministic_fingerprints.py:187
Method
test_complex_jsx_cleanup
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:80
Method
test_complex_mixed_scenario
Test a complex scenario with both valid variables and JSON structures.
lib/crewai/tests/utilities/test_string_utils.py:148
Method
test_complex_nested_json
Test with complex JSON structures containing curly braces.
lib/crewai/tests/utilities/test_string_utils.py:54
Function
test_complex_types
Test handling of complex parameter types
lib/crewai/tests/tools/test_structured_tool.py:268
Function
test_complexity_level_selects_expected_model
Each complexity level maps to its corresponding model when none is set.
lib/crewai-tools/tests/tools/test_vision_tool.py:57
Function
test_complexity_llm_is_cached_per_level
Repeated calls with the same complexity level reuse a single LLM.
lib/crewai-tools/tests/tools/test_vision_tool.py:115
Method
test_composite_is_not_reapplied_to_prebaked_descriptions
A description that already contains a composed block (old checkpoints, adapters that bake the composite into the field) must not be do
lib/crewai/tests/tools/test_base_tool.py:769
Function
test_composite_score_brand_new_memory
Brand-new memory has decay ~ 1.0; composite = 0.5*0.8 + 0.3*1.0 + 0.2*0.7 = 0.84.
lib/crewai/tests/memory/test_unified_memory.py:712
Function
test_composite_score_custom_config
Zero recency/importance weights => composite equals semantic score.
lib/crewai/tests/memory/test_unified_memory.py:806
Function
test_composite_score_match_reasons_populated
match_reasons includes recency for fresh, importance for high-importance; omits for old/low.
lib/crewai/tests/memory/test_unified_memory.py:782
Function
test_composite_score_old_memory_decayed
Memory 60 days old (2 half-lives) has decay = 0.25; composite ~ 0.575.
lib/crewai/tests/memory/test_unified_memory.py:728
Function
test_composite_score_reranks_results
Same semantic score: high-importance recent memory ranks first.
lib/crewai/tests/memory/test_unified_memory.py:744
Function
test_concurrent_access_during_shutdown_flag
()
lib/crewai/tests/utilities/events/test_shutdown.py:95
Function
test_concurrent_emit_and_registration
()
lib/crewai/tests/utilities/events/test_thread_safety.py:88
Function
test_concurrent_emit_from_multiple_threads
()
lib/crewai/tests/utilities/events/test_thread_safety.py:18
Function
test_concurrent_handler_registration
()
lib/crewai/tests/utilities/events/test_thread_safety.py:51
Method
test_concurrent_kickoff_for_each
(self, mock_execute_task, crew_factory)
lib/crewai/tests/test_crew_thread_safety.py:172
Method
test_concurrent_kickoffs_on_a_shared_agent
The reported repro, made deterministic with a barrier. Both kickoffs are held inside their tool call at the same time, so the old age
lib/crewai/tests/tools/test_tool_failure.py:1353
Function
test_concurrent_loads_do_not_share_tools
(project)
lib/crewai/tests/project/test_agent_project.py:59
Function
test_concurrent_minting_converges_on_one_id
Concurrent minters must all return the id that ends up on disk. Uses threads in one process, so it covers the read-modify-write race rather t
lib/crewai/tests/telemetry/test_project_id.py:274
Method
test_concurrent_overrides_do_not_collide
Concurrent agents on a shared LLM must each see their own effective stop.
lib/crewai/tests/agents/test_agent.py:3142
Function
test_concurrent_runs_keep_separate_trace_trees
(runner, monkeypatch, fail_one)
lib/crewai/tests/telemetry/test_wharf_runner.py:133
Function
test_concurrent_scrapes_do_not_share_diagnoses
Two scrapes in flight at once must each be diagnosed from their own error. A shared collector would hand both calls both errors, and the timeout
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:375
Function
test_concurrent_sessions_keep_execution_grants_and_application_spans_separate
( collector, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:515
Function
test_concurrent_settings_instances_keep_configured_enterprise_url
Concurrent settings probes must not make a worker use fallback settings.
lib/crewai-core/tests/test_settings.py:14
Method
test_concurrent_streams_do_not_cross_contaminate
Two concurrent streaming runs must each receive only their own chunks. Mirrors the real production path: create_streaming_state in the caller
lib/crewai/tests/test_streaming.py:931
Function
test_concurrent_writes_and_searches_do_not_lose_points
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:57
Function
test_condition_combinators_return_nested_runtime_tree
()
lib/crewai/tests/test_flow_definition.py:241
Function
test_conditional_router_events_exclusivity
Test that only the returned router event activates, not all events.
lib/crewai/tests/test_flow.py:1469
Function
test_conditional_should_execute
(researcher, writer)
lib/crewai/tests/test_crew.py:4231
Function
test_conditional_should_skip
(researcher, writer)
lib/crewai/tests/test_crew.py:4198
Function
test_conditional_start_that_also_listens_runs_once_per_event
(router)
lib/crewai/tests/test_flow_from_definition.py:4437
Function
test_conditional_start_with_resumption
Test that conditional start methods work correctly with resumption.
lib/crewai/tests/test_flow_resumability_regression.py:93
Function
test_conditional_task_copy_preserves_type
()
lib/crewai/tests/test_task.py:962
Function
test_conditional_task_definition_based_on_dict
()
lib/crewai/tests/test_task.py:949
Function
test_conditional_task_last_task_when_conditional_is_false
(researcher, writer)
lib/crewai/tests/test_crew.py:4149
Function
test_conditional_task_last_task_when_conditional_is_true
(researcher, writer)
lib/crewai/tests/test_crew.py:4122
Function
test_conditional_task_requirement_breaks_when_singular_conditional_task
( researcher, writer )
lib/crewai/tests/test_crew.py:4102
Function
test_conditional_task_requirement_breaks_when_task_async
(researcher, writer)
lib/crewai/tests/test_crew.py:4173
Function
test_conditional_task_uses_last_output
Test that conditional tasks use the last task output for condition evaluation.
lib/crewai/tests/test_crew.py:2277
Function
test_conditional_tasks_result_collection
Test that task outputs are properly collected based on execution status.
lib/crewai/tests/test_crew.py:2347
Function
test_config_agent_env_example_lists_only_settings_it_reads
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, format: str )
lib/cli/tests/test_create_agent.py:430
Function
test_config_agent_install_keeps_editable_project_install
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:364
Function
test_config_agent_runs_same_loader_and_preserves_inputs
( format: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[
lib/cli/tests/test_create_agent.py:242
Function
test_config_agent_validates_without_package_directory
( suffix: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:312
Function
test_config_checkpoint_from_declaration
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:3667
Method
test_config_creation
Test HumanFeedbackConfig can be created with all parameters.
lib/crewai/tests/test_human_feedback_decorator.py:139
Function
test_config_defer_trace_finalization_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3653
Function
test_config_input_provider_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3681
Method
test_config_mapping_carries_provider_settings
(self)
lib/crewai/tests/test_flow_conversation.py:2924
Method
test_config_mapping_passes_through_extra_settings
(self)
lib/crewai/tests/test_flow_conversation.py:2930
Function
test_config_max_method_calls_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3637
Method
test_config_preserved_through_full_flow_execution
Test that the LLM with custom config is used during outcome collapsing.
lib/crewai/tests/test_human_feedback_integration.py:871
← previous
next →
12,201–12,300 of 19,735, ranked by callers