(self, model)
| 53 | assert result["count"] == len(items) |
| 54 | |
| 55 | def test_empty_list(self, model): |
| 56 | result = run_foreach(model, "root", "remove_product", {"product": "{id}"}, []) |
| 57 | assert result["ok"] is True |
| 58 | assert result["count"] == 0 |
| 59 | assert result["errors"] == [] |
| 60 | |
| 61 | def test_bad_id_collects_error(self, model): |
| 62 | items = [{"id": 999999, "type": "IfcWall", "name": "X"}] |
nothing calls this directly
no test coverage detected