honcho/tests/routes
hyusap bc72671074 Fix failing tests by resolving database connection and mocking issues
- Fix database connection issue: Patch CONNECTION_URI environment variable
  in test configuration to use TEST_CONNECTION_URI before imports, ensuring
  deriver queue operations connect to test database (port 5432) instead of
  production database (port 54322)
- Fix agent mocking: Replace incorrect Dialectic.call mocking with proper
  agent.chat function mock that returns correct response object structure
- Improve test database setup: Always drop and recreate test database for
  clean slate and proper schema alignment
- All 284 tests now pass successfully

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06 16:16:59 -04:00
..
__init__.py [0.0.10] Release 2024-07-25 13:45:27 -04:00
test_apps.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_collections.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_documents.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_keys.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_messages.py Add LRU Cache + Add App_Id / User_Id to resource tables (#107) 2025-05-14 15:50:24 -04:00
test_metamessages.py Make JSON body optional for list endpoints and Rename Metamessage Type to Label (#108) 2025-05-14 16:19:30 -04:00
test_scoped_api.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_sessions.py Make JSON body optional for list endpoints and Rename Metamessage Type to Label (#108) 2025-05-14 16:19:30 -04:00
test_users.py v1.0.0 Release Candidate (#95) 2025-04-10 13:59:40 -04:00
test_validation_api.py Fix failing tests by resolving database connection and mocking issues 2025-06-06 16:16:59 -04:00