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_nonexistent_path
(self, tmp_path: Path)
lib/crewai/tests/skills/test_loader.py:61
Method
test_nonexistent_raises
(self)
lib/crewai/tests/test_callback.py:235
Method
test_noop_dispatch_overhead_is_bounded
(self)
lib/crewai/tests/hooks/test_dispatch.py:271
Method
test_noop_fast_path_returns_context_unchanged
(self)
lib/crewai/tests/hooks/test_dispatch.py:54
Method
test_normalization
( self, usage: dict[str, Any] | None, expected: UsageMetrics | None )
lib/crewai/tests/test_flow_usage_metrics.py:208
Method
test_normalize_bytes
Test normalizing raw bytes.
lib/crewai/tests/utilities/test_files.py:340
Method
test_normalize_file_path_string
Test that file path strings are converted to FilePath.
lib/crewai-files/tests/test_file_url.py:186
Method
test_normalize_file_source
Test normalizing FileSource objects.
lib/crewai/tests/utilities/test_files.py:347
Method
test_normalize_file_url_passthrough
Test that FileUrl instances pass through unchanged.
lib/crewai-files/tests/test_file_url.py:202
Method
test_normalize_http_url_string
Test that HTTP URL strings are converted to FileUrl.
lib/crewai-files/tests/test_file_url.py:179
Method
test_normalize_mixed_inputs
Test normalizing mixed input types.
lib/crewai/tests/utilities/test_files.py:355
Function
test_normalize_package_name
(project_name: str, expected: str)
lib/cli/tests/deploy/test_validate.py:172
Method
test_normalize_path_objects
Test normalizing Path objects.
lib/crewai/tests/utilities/test_files.py:331
Method
test_normalize_path_strings
Test normalizing path strings.
lib/crewai/tests/utilities/test_files.py:319
Method
test_normalize_relative_path_is_not_url
Test that relative path strings are not treated as URLs.
lib/crewai-files/tests/test_file_url.py:195
Method
test_normalize_url_string
Test that URL strings are converted to FileUrl.
lib/crewai-files/tests/test_file_url.py:172
Method
test_normalizes_account_url_to_cortex_base_url
(self)
lib/crewai/tests/llms/snowflake/test_snowflake.py:29
Method
test_normalizes_nested_litellm_buckets
(self, usage, expected)
lib/crewai/tests/events/test_llm_usage_event.py:118
Function
test_normalizes_supplied_package_name
(tmp_path: Path, name: str)
lib/crewai-core/tests/test_agent_project_entrypoint.py:56
Method
test_not_equal_leaves_empty_cells_out
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:293
Method
test_not_found
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:439
Method
test_not_found
(self, capsys: pytest.CaptureFixture[str])
lib/crewai/tests/test_checkpoint_cli.py:446
Method
test_not_sent_to_non_reasoning_models
No wasted round trip: these never reach the API with the parameter.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:136
Function
test_not_using_system_prompt
()
lib/crewai/tests/agents/test_agent.py:872
Method
test_not_yanked_from_cache
Test non-yanked status from a valid cache.
lib/cli/tests/test_version.py:325
Method
test_not_yanked_from_cache
Test non-yanked status from a valid cache.
lib/crewai/tests/cli/test_version.py:289
Function
test_nothing_is_recorded_under_the_test_suite
(monkeypatch, tmp_path)
lib/crewai/tests/telemetry/test_last_run.py:56
Method
test_notice_is_printed_only_when_verbose
(self, verbose: bool)
lib/crewai/tests/utilities/test_agent_utils.py:1303
Function
test_noul_threshold_is_inclusive
(noul, threshold, expected)
lib/crewai/tests/test_jev_evaluation_runner.py:241
Function
test_null_byte_path_returns_error_instead_of_raising
(tmp_path, monkeypatch)
lib/crewai-tools/tests/file_read_tool_test.py:431
Function
test_null_byte_returns_error_instead_of_raising
_run's contract is to return a descriptive string for bad input.
lib/crewai-tools/tests/tools/test_file_writer_tool.py:410
Function
test_null_cache_function_restores_as_never_cache_without_opt_in
()
lib/crewai/tests/tools/test_deserialization_guard.py:93
Function
test_null_distances_do_not_hide_valid_matches
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1480
Method
test_null_field
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:74
Function
test_null_litellm_provider_does_not_crash
(monkeypatch)
lib/cli/tests/test_model_catalog.py:387
Method
test_number_field
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:55
Function
test_numbered_search_keeps_original_indexes
(monkeypatch)
lib/cli/tests/test_tui_picker.py:152
Method
test_numeric
(self)
lib/crewai/tests/skills/test_validation.py:28
Function
test_o3_mini_reasoning_effort_high
()
lib/crewai/tests/test_llm.py:323
Function
test_o3_mini_reasoning_effort_low
()
lib/crewai/tests/test_llm.py:334
Function
test_o3_mini_reasoning_effort_medium
()
lib/crewai/tests/test_llm.py:345
Method
test_oauth2_base_url
(self)
lib/cli/tests/authentication/providers/test_keycloak.py:111
Method
test_oauth2_base_url
(self)
lib/cli/tests/authentication/providers/test_okta.py:227
Method
test_oauth2_base_url
(self)
lib/crewai/tests/cli/authentication/providers/test_keycloak.py:111
Method
test_oauth2_base_url
(self)
lib/crewai/tests/cli/authentication/providers/test_okta.py:227
Method
test_oauth2_base_url_strips_http_prefix
(self)
lib/cli/tests/authentication/providers/test_keycloak.py:127
Method
test_oauth2_base_url_strips_http_prefix
(self)
lib/crewai/tests/cli/authentication/providers/test_keycloak.py:127
Method
test_oauth2_base_url_strips_https_prefix
(self)
lib/cli/tests/authentication/providers/test_keycloak.py:114
Method
test_oauth2_base_url_strips_https_prefix
(self)
lib/crewai/tests/cli/authentication/providers/test_keycloak.py:114
Method
test_oauth2_base_url_when_using_org_auth_server
(self)
lib/cli/tests/authentication/providers/test_okta.py:245
Method
test_oauth2_base_url_when_using_org_auth_server
(self)
lib/crewai/tests/cli/authentication/providers/test_okta.py:245
Method
test_oauth2_base_url_with_custom_authorization_server_name
(self)
lib/cli/tests/authentication/providers/test_okta.py:230
Method
test_oauth2_base_url_with_custom_authorization_server_name
(self)
lib/crewai/tests/cli/authentication/providers/test_okta.py:230
Method
test_object_with_dict_attr
(self)
lib/crewai/tests/events/test_llm_usage_event.py:155
Method
test_object_with_dict_excludes_private_attrs
(self)
lib/crewai/tests/events/test_llm_usage_event.py:169
Method
test_object_without_properties_returns_dict
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:220
Function
test_observation_failure_collapses_to_done_because_executor_continues
()
lib/cli/tests/test_crew_run_tui.py:1908
Function
test_observe_command
Test the 'observe' command functionality.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:197
Method
test_observe_fallback_is_conservative_on_llm_error
(self)
lib/crewai/tests/agents/test_agent_executor.py:1541
Method
test_observe_parses_json_string_from_llm
End-to-end: observer.observe() correctly parses a JSON string from llm.call().
lib/crewai/tests/agents/test_agent_executor.py:2405
Function
test_octet_stream_html_is_sniffed_and_stripped
HTML bytes behind an unhelpful header still lose their markup.
lib/crewai-tools/tests/url_read_tool_test.py:428
Function
test_octet_stream_pdf_falls_back_to_url_extension
A PDF served as octet-stream is still extracted, via its extension.
lib/crewai-tools/tests/url_read_tool_test.py:264
Function
test_octet_stream_text_bodies_are_returned_verbatim
Decodable, NUL-free bytes are handed back untouched.
lib/crewai-tools/tests/url_read_tool_test.py:473
Function
test_octet_stream_with_unknown_extension_is_rejected
With neither a usable type nor a known extension, the read is refused.
lib/crewai-tools/tests/url_read_tool_test.py:313
Method
test_offset_and_a_limit_over_fifty_is_lowered
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:257
Function
test_oidc_connection_uses_injected_credential_and_refreshable_callback
Verify OIDC token renewal and caller ownership of injected credentials.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:338
Function
test_oidc_token_acquisition_failure_is_not_hidden
Verify OIDC credential failures propagate without authentication fallback.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:443
Method
test_ok_response_still_returns_json
(self, monkeypatch)
lib/crewai/tests/tools/test_tool_failure.py:1715
Function
test_old_crewai_pin_in_uv_lock_warns
(tmp_path: Path)
lib/cli/tests/deploy/test_validate.py:674
Method
test_old_memories_at_root_still_accessible
Old memories stored at '/' are still accessible.
lib/crewai/tests/memory/test_memory_root_scope.py:721
Method
test_older_than
(self)
lib/crewai/tests/test_checkpoint_cli.py:351
Method
test_older_than
(self)
lib/crewai/tests/test_checkpoint_cli.py:413
Function
test_ollama_appends_dummy_user_message_when_last_is_assistant
(ollama_llm)
lib/crewai/tests/test_llm.py:967
Function
test_ollama_base_honors_ollama_host
(monkeypatch)
lib/cli/tests/test_model_catalog.py:303
Method
test_ollama_base_url_normalized
Test Ollama base URL is normalized to include /v1.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:239
Method
test_ollama_chat_is_alias
Test ollama_chat is configured same as ollama.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:71
Method
test_ollama_config
Test Ollama provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:62
Function
test_ollama_does_not_modify_when_last_is_user
(ollama_llm)
lib/crewai/tests/test_llm.py:980
Function
test_ollama_empty_response_not_filled_with_fallback
(monkeypatch)
lib/cli/tests/test_model_catalog.py:269
Function
test_ollama_excludes_embedding_models
(monkeypatch)
lib/cli/tests/test_model_catalog.py:286
Function
test_ollama_is_not_cached_reflects_installed_changes
(monkeypatch)
lib/cli/tests/test_model_catalog.py:538
Function
test_ollama_never_written_to_catalog_cache
(monkeypatch)
lib/cli/tests/test_model_catalog.py:556
Method
test_ollama_provider_accepts_model_key
Test Ollama provider accepts 'model' as alias for 'model_name'.
lib/crewai/tests/rag/embeddings/test_backward_compatibility.py:140
Function
test_ollama_recovery_not_blocked_by_negative_cache
(monkeypatch)
lib/cli/tests/test_model_catalog.py:309
Function
test_ollama_unreachable_uses_fallback
(monkeypatch)
lib/cli/tests/test_model_catalog.py:276
Method
test_omits_missing_slugs
(self, mock_get_token, mock_plus_api_class, resolver)
lib/crewai/tests/mcp/test_amp_mcp.py:138
Method
test_omits_the_status_key_when_there_was_no_response
A missing key means "no response"; a 0 would read as a status.
lib/crewai-core/tests/test_telemetry_deploy.py:192
Method
test_omits_the_uuid_key_rather_than_writing_an_empty_one
Absent must stay distinguishable from empty, as on the sibling spans.
lib/crewai-core/tests/test_telemetry_deploy.py:126
Method
test_omitted_defaults_to_none
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:394
Method
test_omitted_llm_collapse_uses_project_model
When emit is set without llm=, collapse uses MODEL via create_llm.
lib/crewai/tests/test_human_feedback_decorator.py:379
Method
test_omitting_it_still_synthesizes_one
(self)
lib/crewai/tests/test_flow_conversation.py:2633
Function
test_omitting_the_conversational_block_leaves_it_none
()
lib/crewai/tests/test_flow_definition.py:500
Method
test_on_and_legacy_share_pre_model_call_queue
(self)
lib/crewai/tests/hooks/test_dispatch.py:173
Method
test_on_decorated_method_registers_and_binds_self
(self)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:317
Method
test_on_inbound_called
Test that on_inbound is called and tracks responses.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:148
Method
test_on_outbound_called
Test that on_outbound is called and tracks requests.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:137
Method
test_on_registers_global_hook
(self)
lib/crewai/tests/hooks/test_dispatch.py:115
Function
test_on_task_completed_still_routes_to_task_ended_and_closes_as_ok
The success path shares this handler's span map and must be unaffected. ``on_task_failed`` and ``on_task_completed`` both pop from ``execution_sp
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:334
Function
test_on_task_failed_closes_the_span_as_error_either_way
Wiring-level coverage, including the case that used to leak the span entirely. Two defects on one line. The handler routed to ``task_ended``, whi
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:299
Function
test_one_agent_rejects_session_switch_without_exposing_history
(monkeypatch, mode)
lib/crewai/tests/agents/test_conversation.py:300
← previous
next →
16,301–16,400 of 19,663, ranked by callers