Skip to content

Commit d614617

Browse files
committed
repaired test
1 parent cff1266 commit d614617

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_filament_mismatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ def _make_tray(tray_type, tray_sub_brands, tray_id="tray-1"):
1414
}
1515

1616

17-
def _make_spool(material, extra_type, tray_id="tray-1", spool_id=1, spool_extra_type=None):
17+
def _make_spool(material, extra_type, ams_id=0, tray_id="tray-1", spool_id=1, spool_extra_type=None):
1818
return {
1919
"id": spool_id,
2020
"remaining_weight": 1000,
2121
# SpoolMan may carry a type in spool.extra; include it when provided.
2222
"extra": {
23-
"active_tray": json.dumps(tray_id),
23+
"active_tray": json.dumps(svc.trayUid(ams_id, tray_id)),
2424
**({"type": spool_extra_type if spool_extra_type is not None else extra_type} if (spool_extra_type is not None or extra_type) else {}),
2525
},
2626
"filament": {

0 commit comments

Comments
 (0)