Validate assembly colors with document explorer. Check both documents created with toCAF and STEP export round trip.
(assy_fixture, request, tmpdir, kind)
| 1675 | ], |
| 1676 | ) |
| 1677 | def test_colors_assy1(assy_fixture, request, tmpdir, kind): |
| 1678 | """Validate assembly colors with document explorer. |
| 1679 | |
| 1680 | Check both documents created with toCAF and STEP export round trip. |
| 1681 | """ |
| 1682 | |
| 1683 | assy = request.getfixturevalue(assy_fixture) |
| 1684 | stepfile = str((Path(tmpdir) / assy_fixture).with_suffix(f".{kind}")) |
| 1685 | assy.export(stepfile) |
| 1686 | |
| 1687 | assy_i = assy.load(stepfile) |
| 1688 | |
| 1689 | check_assy(assy, assy_i) |
| 1690 | |
| 1691 | |
| 1692 | def test_materials(): |
nothing calls this directly
no test coverage detected