Sample HTML content for testing.
()
| 192 | |
| 193 | @pytest.fixture |
| 194 | def sample_html() -> str: |
| 195 | """Sample HTML content for testing.""" |
| 196 | return """ |
| 197 | <!DOCTYPE html> |
| 198 | <html> |
| 199 | <head><title>Test Page</title></head> |
| 200 | <body> |
| 201 | <h1>Test Heading</h1> |
| 202 | <div class="content"> |
| 203 | <p>This is a test paragraph with some content.</p> |
| 204 | <ul> |
| 205 | <li>Item 1</li> |
| 206 | <li>Item 2</li> |
| 207 | <li>Item 3</li> |
| 208 | </ul> |
| 209 | </div> |
| 210 | <div class="projects"> |
| 211 | <article class="project"> |
| 212 | <h2>Project Alpha</h2> |
| 213 | <p>Description of Project Alpha</p> |
| 214 | </article> |
| 215 | <article class="project"> |
| 216 | <h2>Project Beta</h2> |
| 217 | <p>Description of Project Beta</p> |
| 218 | </article> |
| 219 | </div> |
| 220 | </body> |
| 221 | </html> |
| 222 | """ |
| 223 | |
| 224 | |
| 225 | @pytest.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected