()
| 1899 | @when(parsers.parse("I save sample test files")) |
| 1900 | @then(parsers.parse("I save sample test files")) |
| 1901 | def saving_sample_test_files() -> None: |
| 1902 | filepath = TMP / "sample_test_file" |
| 1903 | print(f"Saved to {filepath}") |
| 1904 | bpy.ops.bim.save_project(filepath=filepath.with_suffix(".ifc").__str__(), should_save_as=True) |
| 1905 | bpy.ops.wm.save_as_mainfile(filepath=filepath.with_suffix(".blend").__str__()) |
| 1906 | |
| 1907 | |
| 1908 | @given(parsers.parse("I load test blend file")) |
no test coverage detected