MCPcopy
hub / github.com/photonixapp/photonix / photo_fixture_snow

Function photo_fixture_snow

tests/test_task_queue.py:16–20  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

14
15@pytest.fixture
16def photo_fixture_snow(db):
17 from photonix.photos.utils.db import record_photo
18 snow_path = str(Path(__file__).parent / 'photos' / 'snow.jpg')
19 library = LibraryFactory()
20 return record_photo(snow_path, library)
21
22
23def test_tasks_created_updated(photo_fixture_snow):

Callers

nothing calls this directly

Calls 2

record_photoFunction · 0.90
LibraryFactoryClass · 0.85

Tested by

no test coverage detected