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

Function photo_fixture_snow

tests/test_thumbnails.py:13–17  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

record_photoFunction · 0.90
LibraryFactoryClass · 0.85

Tested by

no test coverage detected