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/services
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)
8 months ago
..
auth test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers 8 months ago
tools refactor: Fix some type error (#22594) 8 months ago
workflow feat(api/repo): Allow to config repository implementation (#21458) 9 months ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
services_test_help.py Add unit test for account service (#22278) 9 months ago
test_account_service.py Add unit test for account service (#22278) 9 months ago
test_dataset_permission.py feat: refactor: test_dataset unit tests #21499 (#21502) 9 months ago
test_dataset_service_batch_update_document_status.py feat: refactor: test_dataset unit tests #21499 (#21502) 9 months ago
test_dataset_service_update_dataset.py Fix/replace datetime patterns with naive utc now (#22654) 8 months ago