34 config = load_config(str(CFG))
35 drawing = {d.name: d
for d
in DrawingStore(
None).list()}[GN2]
36 settings = dict(replay=
False, engine_model=
"native", tank_pressure_psia=600.0)
37 whole = prepare(config,
None, drawing,
LayerXSettings(drawing_id=drawing.id, **settings))
38 assert whole.ok
and not any(c.key ==
"feed_lines" for c
in whole.checks)
40 payload = copy.deepcopy(drawing.payload)
41 for e
in payload[
"edges"]:
42 if e[
"id"] ==
"l_fu1":
43 e[
"data"][
"params"][
"bore"][
"value"] = 0.0
44 gap = replace(drawing, id=drawing.id +
"-gap", payload=payload)
45 prep = prepare(config,
None, gap,
LayerXSettings(drawing_id=gap.id, **settings))
46 check = next(c
for c
in prep.checks
if c.key ==
"feed_lines")
47 assert check.status ==
"warn"
48 assert check.detail.startswith(
"Fuel: l_fu1 has no usable length or bore")
49 assert "LOX" not in check.detail