fixtures

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Contract fixtures

contracts.json is generated from fuel-backend's Go JSON types and its real stored-prescription, list and settings handlers, using synthetic data and in-memory services. It makes no API, Firestore, inference, auth, or trial calls. The backend commit is recorded in _meta.

Regenerate from a checked-out backend module, with Go 1.26+:

cd /path/to/fuel-backend
go run /path/to/saturday-python/tests/fixtures/generate.go \
  -backend-sha "$(git rev-parse HEAD)" \
  -out /path/to/saturday-python/tests/fixtures/contracts.json

Review generated differences before accepting them. tests/test_contracts.py checks payloads against TypedDict required/optional keys and value types, then exercises methods using mocked HTTP. Static examples are checked with python -m mypy saturday tests/typecheck --check-untyped-defs --warn-unused-ignores. This is local source-contract evidence, not a live deployed-API smoke test.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL