testsAndMisc/python_pkg/lichess_bot/tests
Krzysztof kuhy Rudnicki 94fef50913 Achieve 100% test coverage for lichess_bot/main.py
- Refactor loops to use explicit next()/StopIteration for coverage
- Add tests for _collect_analysis_lines with empty and full iterators
- Add tests for _process_game_events_loop with multiple game events
- Add tests for _run_event_loop with limited and unlimited iterations
- Add test for process_analysis_output with error exit but no stderr
- Add test for process_game_finish with invalid data type
- All 85 tests pass with 100% line and branch coverage
2025-12-02 22:03:16 +01:00
..
__init__.py refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
conftest.py fix(lint): fix S603 in engine.py and D100 in conftest.py 2025-11-30 23:43:34 +01:00
test_engine.py feat(tests): add comprehensive tests for lichess_bot engine and API 2025-12-01 20:41:51 +01:00
test_lichess_api.py Achieve 100% coverage for lichess_api.py 2025-12-01 20:46:09 +01:00
test_main.py Achieve 100% test coverage for lichess_bot/main.py 2025-12-02 22:03:16 +01:00
test_puzzles.py fix(lint): fix G004 and PTH123 violations across codebase 2025-11-30 23:57:49 +01:00
test_utils.py refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
test_versioning.py Improve lichess_bot utils.py test coverage to 100% 2025-12-01 20:02:05 +01:00