gitingest/tests/query_parser
Filip Christiansen 58dbe2cb7e
refactor: code cleanup, utils extraction, and test improvements (#141)
* Refactor code for lifespan, template usage, and improved tests

- Move background tasks and rate-limit handler into utils.py
- Reference TEMPLATES from config instead of inline Jinja2Templates
- Adopt Given/When/Then docstrings for test clarity
- Parametrize some tests and consolidate code across query_parser tests
- Add pytest.warns context handler to test_parse_repo_source_with_failed_git_command
2025-01-23 02:46:17 +01:00
..
test_git_host_agnostic.py refactor: code cleanup, utils extraction, and test improvements (#141) 2025-01-23 02:46:17 +01:00
test_query_parser.py refactor: code cleanup, utils extraction, and test improvements (#141) 2025-01-23 02:46:17 +01:00