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

Function temp_xml_file

tests/conftest.py:291–295  ·  view source on GitHub ↗

Create a temporary XML file for testing.

(tmp_path, sample_xml)

Source from the content-addressed store, hash-verified

289
290@pytest.fixture
291def temp_xml_file(tmp_path, sample_xml):
292 """Create a temporary XML file for testing."""
293 xml_file = tmp_path / "test_data.xml"
294 xml_file.write_text(sample_xml)
295 return str(xml_file)
296
297
298@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected