(self, request, patt_fill_)
| 219 | ] |
| 220 | ) |
| 221 | def patterned_fixture(self, request, patt_fill_): |
| 222 | cxml, expected_cxml = request.param |
| 223 | |
| 224 | fill = FillFormat.from_fill_parent(element(cxml)) |
| 225 | # --mock must be after FillFormat call to avoid poss. contructor call |
| 226 | _PattFill_ = class_mock( |
| 227 | request, "pptx.dml.fill._PattFill", return_value=patt_fill_, autospec=True |
| 228 | ) |
| 229 | expected_xml = xml(expected_cxml) |
| 230 | return fill, _PattFill_, expected_xml, patt_fill_ |
| 231 | |
| 232 | @pytest.fixture( |
| 233 | params=[ |
nothing calls this directly
no test coverage detected