remaining med value features

This commit is contained in:
2026-03-30 22:31:04 -07:00
parent ea749938bb
commit ced43bec4f
21 changed files with 4257 additions and 9 deletions

View File

@@ -156,10 +156,16 @@ def test_save_generic():
except ValueError:
pass
# LINE as plot image (PNG / TIFF)
node.save(filename="line_plot_png", directory_path=tmpdir, format="PNG", value=line)
assert Path(tmpdir, "line_plot_png.png").exists()
node.save(filename="line_plot_tiff", directory_path=tmpdir, format="TIFF", value=line)
assert Path(tmpdir, "line_plot_tiff.tiff").exists()
# Unsupported LINE format
try:
node.save(filename="line_bad", directory_path=tmpdir, format="TIFF", value=line)
assert False, "Expected ValueError for LINE + TIFF"
node.save(filename="line_bad", directory_path=tmpdir, format="OBJ", value=line)
assert False, "Expected ValueError for LINE + OBJ"
except ValueError:
pass