MCPcopy Create free account
hub / github.com/tox-dev/filelock / shared_database

Function shared_database

tests/sqlite/conftest.py:30–35  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

28
29@pytest.fixture
30def shared_database(tmp_path: Path) -> Path: # pragma: needs posix-hard-link
31 # The shared parent forces SQLite to use a private link.
32 shared: Final[Path] = tmp_path / "shared"
33 shared.mkdir()
34 shared.chmod(0o777)
35 return shared / "lock.db"
36
37
38@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected