()
| 227 | |
| 228 | |
| 229 | def test_transform(): |
| 230 | obj = TransformBlob() |
| 231 | pf = pickle.dumps(obj) |
| 232 | del obj |
| 233 | |
| 234 | obj = pickle.loads(pf) |
| 235 | # Check parent -> child links of TransformWrapper. |
| 236 | assert obj.wrapper._child == obj.composite |
| 237 | # Check child -> parent links of TransformWrapper. |
| 238 | assert [v() for v in obj.wrapper._parents.values()] == [obj.composite2] |
| 239 | # Check input and output dimensions are set as expected. |
| 240 | assert obj.wrapper.input_dims == obj.composite.input_dims |
| 241 | assert obj.wrapper.output_dims == obj.composite.output_dims |
| 242 | |
| 243 | |
| 244 | def test_rrulewrapper(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…