(self, request, placeholders_prop_)
| 215 | ] |
| 216 | ) |
| 217 | def notes_ph_fixture(self, request, placeholders_prop_): |
| 218 | type_names, match = request.param |
| 219 | notes_slide = NotesSlide(None, None) |
| 220 | placeholders_ = [] |
| 221 | for type_name in type_names: |
| 222 | placeholder_ = instance_mock( |
| 223 | request, NotesSlidePlaceholder, name="%s-placeholder" % type_name |
| 224 | ) |
| 225 | placeholder_.placeholder_format.type = getattr(PP_PLACEHOLDER, type_name) |
| 226 | placeholders_.append(placeholder_) |
| 227 | placeholders_prop_.return_value = placeholders_ |
| 228 | expected_value = None if match is None else placeholders_[match] |
| 229 | return notes_slide, expected_value |
| 230 | |
| 231 | @pytest.fixture(params=[True, False]) |
| 232 | def notes_tf_fixture(self, request, notes_placeholder_prop_, placeholder_, text_frame_): |
nothing calls this directly
no test coverage detected