MCPcopy
hub / github.com/lektor/lektor / dummy_attachment

Function dummy_attachment

tests/test_db.py:426–428  ·  view source on GitHub ↗
(scratch_project_data)

Source from the content-addressed store, hash-verified

424
425@pytest.fixture
426def dummy_attachment(scratch_project_data):
427 attachment = Path(scratch_project_data, "content/test.txt")
428 write_files((attachment, "some text"))
429
430
431@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

write_filesFunction · 0.85

Tested by

no test coverage detected