Files
DumiFlex 897a188210 feat(nodes): WP Label & Grid node with a custom panel and grid presets (#176)
Labels images and lays them out in one labelled grid or an XY plot, from one image up to a loop's frames of batches. One DOM widget with kit controls, grid presets that follow the run's shape, and a new shared ColorField kit control.
2026-10-28 16:28:09 +01:00

13 lines
355 B
Python

"""/wp/api/label-grid/fonts — the widget's font list."""
from __future__ import annotations
from engine import label_grid as g
async def test_fonts_list_starts_with_default(wp_client):
resp = await wp_client.get("/wp/api/label-grid/fonts")
assert resp.status == 200
body = await resp.json()
assert body["fonts"][0] == g.DEFAULT_FONT