MaiBot/pytests/webui
DrSmoothl f97c24bf9e
test(webui): add pytest tests for emoji, jargon, expression routes
- test_emoji_routes.py: 21 tests covering list/get/update/delete/batch operations
- test_jargon_routes.py: 25 tests covering CRUD + stats + chat list (2 skipped due to DB model)
- test_expression_routes.py: 24 tests covering legacy field compatibility + field removal
- All use in-memory SQLite + StaticPool for isolation
- All tests passing (68/68, 2 skipped)
2026-02-17 20:12:57 +08:00
..
__init__.py test(webui): add unit tests for ConfigSchemaGenerator 2026-02-17 17:14:48 +08:00
test_config_schema.py test(webui): add unit tests for ConfigSchemaGenerator 2026-02-17 17:14:48 +08:00
test_emoji_routes.py test(webui): add pytest tests for emoji, jargon, expression routes 2026-02-17 20:12:57 +08:00
test_expression_routes.py test(webui): add pytest tests for emoji, jargon, expression routes 2026-02-17 20:12:57 +08:00
test_jargon_routes.py test(webui): add pytest tests for emoji, jargon, expression routes 2026-02-17 20:12:57 +08:00