12 lines
381 B
Python
12 lines
381 B
Python
import json
|
|
from pathlib import Path
|
|
|
|
|
|
def test_v1_workflow_drives_frames_directly_from_float_duration():
|
|
workflow = json.loads(
|
|
(Path(__file__).parents[1] / "example" / "MajoorH3GuideMaster_v1.json").read_text(encoding="utf-8")
|
|
)
|
|
frame_link = next(link for link in workflow["links"] if link[0] == 396)
|
|
|
|
assert frame_link == [396, 132, 0, 176, 14, "FLOAT"]
|