mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Allow to write to unexisting directory
`ifcopenshell.write("/unexisting/path/model.ifc")` was failing without
throwing an error. It now works and a test ensure it works.
This commit is contained in:
@@ -61,3 +61,6 @@ class TestWrite:
|
||||
|
||||
def test_write_anyextension_ifczip_ifcxml_format(self):
|
||||
self.assert_model_is_written("model.anyextension", format=".ifcXML", zipped=True)
|
||||
|
||||
def test_write_to_non_existing_dir(self):
|
||||
self.assert_model_is_written("tmp/model.ifczip")
|
||||
|
||||
Reference in New Issue
Block a user