Skip to content
SkilVault
Sign inGet started

flask-api-pytest-playbook

Signed by SkilVault

Guides writing and safely running pytest tests for the Chuuk dictionary Flask service, whose app.py keeps its database handle and translator as module globals. Covers the shared conftest fixtures, exact patch points such as the dict_db and helsinki_translator globals, the dictionary_collection and bulk_insert_entries mock shapes, offline sacrebleu corpus scoring against a 15.0 BLEU floor, runtime-based marker selection, and a staged run protocol that reads configuration and conftest before any pytest invocation and requires explicit user approval before a selection touching a real database, network, or translation model may start. Use when adding or editing tests, designing fixtures and mocks, choosing markers, checking translation quality, or deciding which pytest selection may launch unprompted. Not for building application features, training or tuning translation models, deploying services, or administering production databases.

Version
v1.0.0
Size
19 KB
Updated
2026-10-12
$ skilvault read --manual flask-api-pytest-playbook

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.