Create builder with custom settings.
(self, temp_dir)
| 48 | |
| 49 | @pytest.fixture |
| 50 | def builder_custom(self, temp_dir): |
| 51 | """Create builder with custom settings.""" |
| 52 | import os |
| 53 | |
| 54 | prompt_file = os.path.join(temp_dir, "prompt.txt") |
| 55 | with open(prompt_file, "w") as f: |
| 56 | f.write("Test prompt: {content}") |
| 57 | |
| 58 | return RequestBuilder( |
| 59 | prompt=prompt_file, |
| 60 | with_image=True, |
| 61 | with_question=True, |
| 62 | with_answer=True, |
| 63 | with_original=False, |
| 64 | ) |
| 65 | |
| 66 | def test_init_default(self, builder_default): |
| 67 | """Test initialization with defaults.""" |
nothing calls this directly
no test coverage detected