feat: add integration smoke tests
CLI-level smoke tests using --yaml output against real Twitter API. Default skipped via @pytest.mark.smoke marker + pyproject.toml addopts. Run locally with: uv run pytest -m smoke -v
This commit is contained in:
11
SCHEMA.md
11
SCHEMA.md
@@ -27,3 +27,14 @@ error:
|
||||
- tweet and user lists are returned under `data`
|
||||
- `status` returns `data.authenticated` plus `data.user`
|
||||
- `whoami` returns `data.user`
|
||||
- write commands also support explicit `--json` / `--yaml`
|
||||
|
||||
## Error Codes
|
||||
|
||||
Common structured error codes:
|
||||
|
||||
- `not_authenticated`
|
||||
- `not_found`
|
||||
- `invalid_input`
|
||||
- `rate_limited`
|
||||
- `api_error`
|
||||
|
||||
Reference in New Issue
Block a user