MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / _regenerate_fixtures

Function _regenerate_fixtures

tests/pycolmap/test_roundtrip.py:49–53  ·  view source on GitHub ↗

Run the TS fixture generator via vite-node.

()

Source from the content-addressed store, hash-verified

47
48
49def _regenerate_fixtures() -> None:
50 """Run the TS fixture generator via vite-node."""
51 # shell=True is required on Windows so .cmd shims (npx.cmd) resolve.
52 cmd = "npx vite-node tests/pycolmap/generate_fixtures.ts"
53 subprocess.run(cmd, cwd=REPO, check=True, shell=True)
54
55
56@pytest.fixture(scope="session", autouse=True)

Callers 1

_ensure_fixturesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected