MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / sample_html

Function sample_html

tests/conftest.py:194–222  ·  view source on GitHub ↗

Sample HTML content for testing.

()

Source from the content-addressed store, hash-verified

192
193@pytest.fixture
194def 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected