Skip to content

Commit ab00f6c

Browse files
whatevertogoclaude
andcommitted
test: enhance test framework with comprehensive fixtures and mocks
- Add shared mock builders for aiocqhttp, discord, telegram - Add test helpers for platform configs and mock objects - Expand conftest.py with test profile support - Update coverage test workflow configuration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 94736ff commit ab00f6c

12 files changed

Lines changed: 1302 additions & 1 deletion

File tree

.github/workflows/coverage_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
mkdir -p data/temp
3838
export TESTING=true
3939
export ZHIPU_API_KEY=${{ secrets.OPENAI_API_KEY }}
40-
pytest --cov=. -v -o log_cli=true -o log_level=DEBUG
40+
pytest --cov=astrbot -v -o log_cli=true -o log_level=DEBUG
4141
4242
- name: Upload results to Codecov
4343
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)