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

Function connect_route

tests/sqlite/test_connection.py:104–109  ·  view source on GitHub ↗
(request: pytest.FixtureRequest, tmp_path: Path)

Source from the content-addressed store, hash-verified

102 ]
103)
104def connect_route(request: pytest.FixtureRequest, tmp_path: Path) -> None:
105 # Where others may create names beside the database, SQLite connects through a private link instead of the name.
106 if request.param and sys.platform == "win32": # pragma: win32 cover
107 grant_everyone_write(tmp_path)
108 elif request.param: # pragma: needs posix-hard-link
109 tmp_path.chmod(0o777)
110
111
112def test_locks_alive_at_shutdown_finalize_silently(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 1

grant_everyone_writeFunction · 0.90

Tested by

no test coverage detected