no-mistakes(document): docs: add pytest suite to AGENTS.md structure and commands
This commit is contained in:
@@ -22,6 +22,7 @@ app/
|
||||
├── services/ # Business logic (auth, seed, ticket, sla)
|
||||
└── routers/ # FastAPI route handlers
|
||||
alembic/ # Database migrations
|
||||
tests/ # pytest suite; conftest.py swaps DATABASE_URL to a temp SQLite
|
||||
uploads/ # Photo uploads (created at runtime)
|
||||
```
|
||||
|
||||
@@ -29,6 +30,7 @@ uploads/ # Photo uploads (created at runtime)
|
||||
|
||||
- `alembic upgrade head` — apply migrations
|
||||
- `alembic revision --autogenerate -m "msg"` — new migration
|
||||
- `pytest` — run the API test suite (tests/; pagination contract anchored in tests/test_tickets_pagination.py)
|
||||
|
||||
## Seed data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user