Refactor tests: update input path resolution, optimize imports, and enhance load_ifc_occ_shape.

Simplify path definitions in `test_write.py` and `test_open.py`. Replace `typing` with `collections.abc` for `Sequence` usage in `test_sweeps.py` and adjust type hints to use Python's generic collections. Add optional verbosity to `load_ifc_occ_shape` and refine geometry test assertions. Update `simple_sweep_2.ifc` fixtures for consistency with test expectations.
This commit is contained in:
krande
2025-08-28 13:16:07 +02:00
parent 79546807d9
commit 77acfd7069
4 changed files with 29 additions and 28 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ import pytest
import ifcopenshell
TEST_FILE_DIR = Path("../../test/input/")
TEST_FILE_DIR = Path(__file__).parent / "../../../test/input/"
class TestWrite: