(simple_assy2)
| 2254 | |
| 2255 | |
| 2256 | def test_constraint_validation(simple_assy2): |
| 2257 | |
| 2258 | with pytest.raises(ValueError): |
| 2259 | simple_assy2.constrain("b1", "Fixed?") |
| 2260 | |
| 2261 | with pytest.raises(ValueError): |
| 2262 | cq.assembly.Constraint((), (), (), "Fixed?") |
| 2263 | |
| 2264 | |
| 2265 | def test_single_unary_constraint(simple_assy2): |