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

Function temp_html_file

tests/conftest.py:283–287  ·  view source on GitHub ↗

Create a temporary HTML file for testing.

(tmp_path, sample_html)

Source from the content-addressed store, hash-verified

281
282@pytest.fixture
283def temp_html_file(tmp_path, sample_html):
284 """Create a temporary HTML file for testing."""
285 html_file = tmp_path / "test_page.html"
286 html_file.write_text(sample_html)
287 return str(html_file)
288
289
290@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected