MCPcopy Create free account
hub / github.com/colmap/colmap / test_database_transaction

Function test_database_transaction

src/pycolmap/scene/database_test.py:189–192  ·  view source on GitHub ↗
(database, simple_camera)

Source from the content-addressed store, hash-verified

187
188
189def test_database_transaction(database, simple_camera):
190 with pycolmap.DatabaseTransaction(database):
191 database.write_camera(simple_camera)
192 assert database.num_cameras() == 1

Callers

nothing calls this directly

Calls 1

DatabaseTransactionMethod · 0.80

Tested by

no test coverage detected