Narrow optional result data in the workflow listing test

This commit is contained in:
Ewald
2026-11-05 15:30:06 +01:00
parent 958c786449
commit 7e468bd0a1
@@ -23,6 +23,7 @@ def _listed(root: Path) -> dict[str, dict]:
roots=[root], query="", limit=100, offset=0, sort="name", subfolder=""
)
assert res.ok, res.error
assert res.data is not None
return {f"{c['subfolder']}/{c['filename']}".lstrip("/"): c for c in res.data["assets"]}