mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
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:
@@ -22,7 +22,7 @@ import pytest
|
||||
import ifcopenshell
|
||||
|
||||
|
||||
TEST_FILE_DIR = Path("../../test/input/")
|
||||
TEST_FILE_DIR = Path(__file__).parent / "../../../test/input/"
|
||||
|
||||
|
||||
class TestWrite:
|
||||
|
||||
Reference in New Issue
Block a user