| 230 | |
| 231 | @pytest.fixture(params=[True, False]) |
| 232 | def notes_tf_fixture(self, request, notes_placeholder_prop_, placeholder_, text_frame_): |
| 233 | has_text_frame = request.param |
| 234 | notes_slide = NotesSlide(None, None) |
| 235 | if has_text_frame: |
| 236 | notes_placeholder_prop_.return_value = placeholder_ |
| 237 | placeholder_.text_frame = text_frame_ |
| 238 | expected_value = text_frame_ |
| 239 | else: |
| 240 | notes_placeholder_prop_.return_value = None |
| 241 | expected_value = None |
| 242 | return notes_slide, expected_value |
| 243 | |
| 244 | @pytest.fixture |
| 245 | def placeholders_fixture(self, NotesSlidePlaceholders_, placeholders_): |