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

Function photo_fixture_tree

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

Source from the content-addressed store, hash-verified

18
19@pytest.fixture
20def photo_fixture_tree(db):
21 from photonix.photos.utils.db import record_photo
22 tree_path = str(Path(__file__).parent / 'photos' / 'tree.jpg')
23 library = LibraryFactory()
24 return record_photo(tree_path, library)
25
26
27def test_color_via_runner(photo_fixture_snow):

Callers

nothing calls this directly

Calls 2

record_photoFunction · 0.90
LibraryFactoryClass · 0.85

Tested by

no test coverage detected