brewlog/tests
copilot-swe-agent[bot] 1747a77a83
refactor(test): simplify CLI tests with shared server and remove unused TestApp helpers
- Remove unused post/put/delete/get helper methods from TestApp
- Create shared test server instance for all CLI tests using once_cell
- Use API directly to create tokens for testing (avoids interactive CLI issues)
- Simplify CLI test structure with server_info() and create_token() helpers
- Update all CLI tests to use shared server infrastructure
- Server tests (42 tests) still pass 

Note: CLI tests have stdin handling issues with interactive create-token command.
Using API directly for token creation in tests as workaround.

Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com>
2025-11-25 16:28:45 +00:00
..
cli refactor(test): simplify CLI tests with shared server and remove unused TestApp helpers 2025-11-25 16:28:45 +00:00
server refactor(test): simplify CLI tests with shared server and remove unused TestApp helpers 2025-11-25 16:28:45 +00:00