(self, request, solid_fill_)
| 241 | ] |
| 242 | ) |
| 243 | def solid_fixture(self, request, solid_fill_): |
| 244 | cxml, expected_cxml = request.param |
| 245 | |
| 246 | fill = FillFormat.from_fill_parent(element(cxml)) |
| 247 | # --mock must be after FillFormat call to avoid poss. contructor call |
| 248 | _SolidFill_ = class_mock( |
| 249 | request, "pptx.dml.fill._SolidFill", return_value=solid_fill_, autospec=True |
| 250 | ) |
| 251 | expected_xml = xml(expected_cxml) |
| 252 | return fill, _SolidFill_, expected_xml, solid_fill_ |
| 253 | |
| 254 | # fixture components --------------------------------------------- |
| 255 |
nothing calls this directly
no test coverage detected