Record fixtures from a real Home Assistant OS #2

Open
opened 2026-12-03 01:18:35 +00:00 by christianmanivong · 0 comments
Owner

The fixtures in tests/fixtures/ are built from the Supervisor 2026.11.0 API source, not recorded (decided 2026-12-03, see the fixtures README). Replace them with recordings once the first Home Assistant has been onboarded (smh-haos, HAOS 18.4).

  • Record every answer the driver reads (/host/info, /os/info, /core/info, /supervisor/info, /network/info, /addons, /addons/<slug>/info, /resolution/info, /jobs/info), anonymised, and name the fixtures by model and version.
  • Check against the device what was built from the source alone:
    • the units of boot_timestamp and the disk figures
    • what a Core update answers before Home Assistant restarts
    • whether a Supervisor update answers or drops the connection
  • README: replace "not yet against a device" with the tested versions.
The fixtures in `tests/fixtures/` are built from the Supervisor 2026.11.0 API source, not recorded (decided 2026-12-03, see the fixtures README). Replace them with recordings once the first Home Assistant has been onboarded (smh-haos, HAOS 18.4). - [ ] Record every answer the driver reads (`/host/info`, `/os/info`, `/core/info`, `/supervisor/info`, `/network/info`, `/addons`, `/addons/<slug>/info`, `/resolution/info`, `/jobs/info`), anonymised, and name the fixtures by model and version. - [ ] Check against the device what was built from the source alone: - the units of `boot_timestamp` and the disk figures - what a Core update answers before Home Assistant restarts - whether a Supervisor update answers or drops the connection - [ ] README: replace "not yet against a device" with the tested versions.
christianmanivong added the
prio
P2
tech-debt
labels 2026-12-03 01:18:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-homeassistant#2