MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Methodtest_router_infers_custom_routes_without_internal_routes
(self)
lib/crewai/tests/test_flow_conversation.py:456
Functiontest_router_label_parity_for_each_branch
()
lib/crewai/tests/test_flow_from_definition.py:581
Methodtest_router_messages_include_route_catalog
The router system prompt must enumerate routes with descriptions.
lib/crewai/tests/test_flow_conversation.py:907
Functiontest_router_node_has_correct_metadata
Test that router nodes have correct type and event metadata.
lib/crewai/tests/test_flow_visualization.py:297
Methodtest_router_response_format_takes_a_python_ref_not_a_module_ref
The contract declares the same `{"python": ...}` shape crews use. A bare `module:qualname` ref used to be accepted and silently dropped;
lib/crewai/tests/test_flow_conversation.py:2547
Functiontest_router_runtime_uses_flow_definition_without_legacy_router_metadata
()
lib/crewai/tests/test_flow.py:359
Functiontest_router_self_listening_method_is_rejected
()
lib/crewai/tests/test_flow.py:2183
Functiontest_router_start_false_without_listen_is_allowed
(caplog)
lib/crewai/tests/test_flow_definition.py:1205
Methodtest_router_triggered_by
Events from router-triggered paths should have correct triggered_by_event_id.
lib/crewai/tests/events/test_event_ordering.py:896
Functiontest_router_with_multiple_conditions
Test a router that triggers when any of multiple steps complete (OR condition), and another router that triggers only after all specified steps co
lib/crewai/tests/test_flow.py:607
Functiontest_routers_with_shared_output_strings
Test that routers with shared output strings don't create incorrect edges. This tests a scenario where multiple routers can output the same strin
lib/crewai/tests/test_flow_visualization.py:580
Methodtest_routes_to_ephemeral_endpoint_when_ephemeral
Ephemeral batches must use mark_ephemeral_trace_batch_as_failed.
lib/crewai/tests/tracing/test_tracing.py:1448
Methodtest_routes_to_matching_listener
Test that collapsed outcome routes to the matching @listen method.
lib/crewai/tests/test_human_feedback_integration.py:26
Methodtest_routes_to_non_ephemeral_endpoint_when_not_ephemeral
Non-ephemeral batches must use mark_trace_batch_as_failed.
lib/crewai/tests/tracing/test_tracing.py:1462
Methodtest_routing_still_works_with_downstream_listener
When @human_feedback has a downstream listener, routing still triggers the listener.
lib/crewai/tests/test_human_feedback_decorator.py:1200
Methodtest_rows_still_show_it
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:626
Functiontest_run_again_runs_the_crew_whatever_the_record_says
The run app's Evaluate on a run that was not traced: the project's last traced run is some other run, and grading it would answer the wrong press.
lib/cli/tests/experimental/test_eval_crew.py:3462
Functiontest_run_again_runs_the_run_the_person_pressed_evaluate_on
Its definition and inputs travel with it; a flow named by its definition needs no project around it.
lib/cli/tests/experimental/test_eval_crew.py:3724
Methodtest_run_binary_file_returns_base64
Test reading a binary file returns base64 encoded content.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:62
Functiontest_run_calls_asyncio_run_for_async_tools
Test that asyncio.run is called when using async tools.
lib/crewai/tests/tools/test_base_tool.py:187
Functiontest_run_chat_offers_json_crew_as_a_tool
( tmp_path: Path, project_env: pytest.MonkeyPatch )
lib/crewai/tests/cli/test_crew_chat.py:242
Functiontest_run_conversational_flow_tui_initializes_event_listener
(monkeypatch, options)
lib/cli/tests/test_kickoff_flow.py:150
Methodtest_run_converts_expected_failure
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:56
Functiontest_run_crew_conversational_flow_in_dmn_mode_exits_with_guidance
CREWAI_DMN counts as headless even when stdin is a terminal.
lib/cli/tests/test_run_crew.py:1665
Functiontest_run_crew_conversational_flow_without_terminal_exits_with_guidance
No stdin TTY (a coding agent, CI): the chat TUI would wait forever.
lib/cli/tests/test_run_crew.py:1646
Functiontest_run_crew_forwards_inputs_to_json_crew
(monkeypatch)
lib/cli/tests/test_run_crew.py:1154
Functiontest_run_crew_forwards_trained_agents_file_to_json_crews
crewai run -f must reach JSON crews, not only classic subprocess crews.
lib/cli/tests/test_run_crew.py:40
Functiontest_run_crew_inputs_kick_off_a_flow_bound_under_two_names
An alias such as `MyFlow = ContentFlow` is still one Flow class.
lib/cli/tests/test_run_crew.py:1537
Functiontest_run_crew_inputs_name_every_flow_when_main_defines_two
(python_flow_project)
lib/cli/tests/test_run_crew.py:1526
Functiontest_run_crew_inputs_need_a_kickoff_script
(python_flow_project)
lib/cli/tests/test_run_crew.py:1573
Functiontest_run_crew_inputs_refuse_a_conversational_flow
(python_flow_project)
lib/cli/tests/test_run_crew.py:1564
Functiontest_run_crew_inputs_rejected_for_classic_crew
(monkeypatch)
lib/cli/tests/test_run_crew.py:1220
Functiontest_run_crew_inputs_without_definition_resolves_configured_flow
(monkeypatch)
lib/cli/tests/test_run_crew.py:1241
Functiontest_run_crew_non_conversational_flow_without_terminal_still_runs_kickoff
The gate is for the chat TUI only; a plain Python flow stays headless-safe.
lib/cli/tests/test_run_crew.py:1681
Functiontest_run_crew_rejects_bad_python_flow_inputs_before_running
( monkeypatch, capsys, inputs, message )
lib/cli/tests/test_run_crew.py:1508
Functiontest_run_crew_rejects_filename_for_flow_project
(monkeypatch)
lib/cli/tests/test_run_crew.py:1773
Functiontest_run_crew_rejects_filename_with_explicit_definition
()
lib/cli/tests/test_run_crew.py:1267
Functiontest_run_crew_reruns_python_flow_inputs_inside_the_project_env
Outside the project env, `--inputs` re-runs `crewai run` there, as a declarative flow does, so the flow imports with the project's dependencies.
lib/cli/tests/test_run_crew.py:1472
Functiontest_run_crew_runs_classic_crew_project
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1295
Functiontest_run_crew_runs_configured_declarative_flow_project
( monkeypatch, tmp_path: Path, capsys )
lib/cli/tests/test_run_crew.py:1786
Functiontest_run_crew_runs_conversational_flow_tui
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1582
Functiontest_run_crew_runs_explicit_declarative_definition
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1277
Functiontest_run_crew_runs_python_flow_project
(monkeypatch, capsys)
lib/cli/tests/test_run_crew.py:1320
Methodtest_run_crew_with_payload_empty_payload
(self, mock_subprocess)
lib/cli/tests/triggers/test_main.py:163
Methodtest_run_crew_with_payload_failure
(self, mock_subprocess)
lib/cli/tests/triggers/test_main.py:155
Methodtest_run_crew_with_payload_success
(self, mock_subprocess)
lib/cli/tests/triggers/test_main.py:141
Functiontest_run_declarative_flow_dmn_uses_terminal
( tmp_path: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:452
Functiontest_run_declarative_flow_in_process_inside_uv
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, capsys: pytest.CaptureFixture[str], )
lib/cli/tests/test_run_declarative_flow.py:150
Functiontest_run_declarative_flow_in_project_env_forwards_inputs
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/test_run_declarative_flow.py:167
Functiontest_run_declarative_flow_in_project_env_uses_uv
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/test_run_declarative_flow.py:115
Functiontest_run_declarative_flow_interactive_uses_tui
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:470
Functiontest_run_declarative_flow_loads_project_env
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_run_declarative_flow.py:372
Functiontest_run_declarative_flow_opens_the_conversational_tui
A declarative chat flow gets the same TUI a Python one does.
lib/cli/tests/test_run_declarative_flow.py:688
Functiontest_run_declarative_flow_reads_definition_file
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:39
Functiontest_run_declarative_flow_rejects_non_object_inputs
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:52
Functiontest_run_declarative_flow_reports_empty_file
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:78
Functiontest_run_declarative_flow_reports_missing_file
( capsys: pytest.CaptureFixture[str], )
lib/cli/tests/test_run_declarative_flow.py:66
Functiontest_run_declarative_flow_still_runs_a_disabled_conversational_flow
( tmp_path: Path, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/test_run_declarative_flow.py:842
Functiontest_run_declarative_flow_tui_chains_deploy
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_run_declarative_flow.py:520
Functiontest_run_declarative_flow_tui_enables_flow_events
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_run_declarative_flow.py:601
Functiontest_run_declarative_flow_tui_failed_exits_nonzero
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_run_declarative_flow.py:493
Functiontest_run_declarative_flow_tui_leaves_the_report_link_behind
A declarative flow evaluates inside the app like a crew does. What the terminal is for is afterwards: the link, once the screen that held it is
lib/cli/tests/test_run_declarative_flow.py:573
Functiontest_run_declarative_flow_tui_no_deploy_when_not_requested
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_run_declarative_flow.py:557
Functiontest_run_declarative_flow_tui_user_quit_exits_130
( monkeypatch: pytest.MonkeyPatch, )
lib/cli/tests/test_run_declarative_flow.py:506
Methodtest_run_denied_query
Test that denied queries return appropriate error message.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:281
Functiontest_run_does_not_call_asyncio_run_for_sync_tools
Test that asyncio.run is NOT called when using sync tools.
lib/crewai/tests/tools/test_base_tool.py:199
Methodtest_run_does_not_increment_usage_on_validation_error
Usage count should NOT increment when validation fails.
lib/crewai/tests/tools/test_base_tool.py:324
Methodtest_run_empty_result
Test executing a query that returns no results.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:265
Methodtest_run_file_not_found
Test _run returns message when file not found.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:35
Methodtest_run_filtered_query
Test executing a filtered SELECT query.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:242
Functiontest_run_handles_exception
(mock_urlopen)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:97
Functiontest_run_http_error
(mock_post)
lib/crewai-tools/tests/tools/brightdata_webunlocker_tool_test.py:48
Methodtest_run_increments_usage_after_validation
Usage count should still increment after validated execution.
lib/crewai/tests/tools/test_base_tool.py:317
Functiontest_run_inputs_without_definition_calls_run_crew
(run_crew, runner)
lib/cli/tests/test_cli.py:277
Methodtest_run_invalid_query_syntax
Test executing a query with invalid syntax.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:273
Functiontest_run_json_crew_accepts_inputs_argument
(monkeypatch, tmp_path: Path, capsys)
lib/cli/tests/test_run_crew.py:1083
Functiontest_run_json_crew_completed_status_returns_result
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:797
Functiontest_run_json_crew_dmn_mode_bypasses_tui
(monkeypatch, tmp_path: Path, capsys)
lib/cli/tests/test_run_crew.py:834
Functiontest_run_json_crew_dmn_mode_exits_on_missing_inputs
( monkeypatch, tmp_path: Path, capsys )
lib/cli/tests/test_run_crew.py:964
Functiontest_run_json_crew_exports_trained_agents_env
JSON crews run in-process, so the pickle path must land in the env var.
lib/cli/tests/test_run_crew.py:703
Functiontest_run_json_crew_failed_status_exits_nonzero
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:787
Functiontest_run_json_crew_in_a_terminal_opens_the_tui
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:926
Functiontest_run_json_crew_in_project_env_forwards_inputs
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:1110
Functiontest_run_json_crew_in_project_env_rejects_invalid_inputs_json
( monkeypatch, tmp_path: Path, capsys )
lib/cli/tests/test_run_crew.py:1134
Functiontest_run_json_crew_leaves_env_untouched_without_flag
(monkeypatch, tmp_path: Path)
lib/cli/tests/test_run_crew.py:718
Functiontest_run_json_crew_without_a_terminal_runs_headless_and_exits
A coding agent's shell has no terminal: the TUI would stay open after the crew finished and `crewai run` would never exit.
lib/cli/tests/test_run_crew.py:904
Methodtest_run_json_file
Test reading a JSON file returns decoded content.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:53
Functiontest_run_merges_default_filter_and_rejects_non_object_filters
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1413
Methodtest_run_multiple_files
Test tool can access multiple files.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:103
Functiontest_run_names_another_execution_and_an_anonymous_caller_sends_no_token
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:337
Functiontest_run_no_download
(mock_urlopen)
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:78
Methodtest_run_no_files_available
Test _run returns message when no files are set.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:30
Functiontest_run_normalizes_decimal_metadata_values
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:382
Functiontest_run_passes_filename_to_project_runner
(run_crew, runner)
lib/cli/tests/test_cli.py:297
Functiontest_run_passes_filename_to_run_crew
(run_crew_mock: mock.Mock, runner: CliRunner)
lib/crewai/tests/cli/test_run_crew.py:33
Methodtest_run_pdf_file_returns_extracted_text
Test reading a PDF file returns extracted text instead of base64.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:84
Methodtest_run_preserves_unexpected_exception_fallback
(self)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_action_tool.py:75
Methodtest_run_raises_on_blocked_query
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:243
Functiontest_run_rejects_filename_with_definition
(run_crew, runner)
lib/cli/tests/test_cli.py:288
Functiontest_run_returns_empty_string_on_error
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:748
← previousnext →17,501–17,600 of 19,482, ranked by callers