You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/tests/unit_tests
Jason f07eb03be8 test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers
- Add test_firecrawl_auth.py with 23 test cases covering:
  - Bearer token authentication validation
  - API key validation and error handling
  - HTTP error responses (402, 409, 500)
  - Network timeouts and connection errors
  - Custom base URL configuration
  - API key security (non-exposure in errors)

- Add test_watercrawl_auth.py with 26 test cases covering:
  - X-API-KEY authentication validation
  - API key validation and error handling
  - HTTP error responses (402, 409, 500)
  - Network timeouts and connection errors
  - URL construction with urljoin
  - API key security (non-exposure in errors)
7 months ago
..
configs chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. (#22371) 7 months ago
controllers test: add comprehensive OAuth authentication unit tests (#22528) 7 months ago
core refactor: decouple Node and NodeData (#22581) 7 months ago
extensions feat: add redis fallback mechanism #21043 (#21044) 7 months ago
factories refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025) 7 months ago
libs test: add comprehensive OAuth authentication unit tests (#22528) 7 months ago
models feat(libs): Introduce `extract_tenant_id` (#22086) 7 months ago
oss chore(lint): correct allowed-unused-imports settings for cleanup unused imports in tests (#11922) 1 year ago
repositories feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597) 7 months ago
services test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers 7 months ago
utils Support OAuth Integration for Plugin Tools (#22550) 7 months ago
.gitignore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 9 months ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
conftest.py fix: resolve Redis mock import error in test configuration (#22663) 7 months ago