Update python test and example

This commit is contained in:
Jon Jenssen authored and JJ committed 2026-06-17 13:55:32 +02:00
1 parent ec9feff950
commit 4f270603eb
2 files changed
+2 -2

No files matched your search

@@ -36,7 +36,7 @@ resinsight.set_export_folder(export_type="SNAPSHOTS", path="e:/temp")
resinsight.set_export_folder(export_type="PROPERTIES", path="e:/temp")
# Export all snapshots
resinsight.project.export_snapshots()
resinsight.project.export_snapshots(width=800, height=600)
# Export properties in the view
view1.export_property()
@@ -248,7 +248,7 @@ def test_exportSnapshots(rips_instance, initialize_test):
with tempfile.TemporaryDirectory(prefix="rips") as tmpdirname:
print("Temporary folder: ", tmpdirname)
rips_instance.set_export_folder(export_type="SNAPSHOTS", path=tmpdirname)
rips_instance.project.export_snapshots()
rips_instance.project.export_snapshots(width=640, height=480)
print(os.listdir(tmpdirname))
# assert(len(os.listdir(tmpdirname)) > 0)
for fileName in os.listdir(tmpdirname):