MCPcopy Create free account

hub / github.com/tox-dev/filelock / endpoints

Endpoints35 in github.com/tox-dev/filelock

Routetest_another_instance_on_the_database_keeps_the_held_lock
pytest.mark.usefixtures("connect_route")
tests/sqlite/test_connection.py:None
Routetest_break_lock_file_keeps_a_marker_recreated_after_the_recheck
pytest.mark.usefixtures("break_route")
tests/filesystem/test_exchange.py:None
Routetest_break_lock_file_lets_acquire_retry_after_the_marker_vanishes
pytest.mark.usefixtures("break_route")
tests/filesystem/test_exchange_recovery.py:None
Routetest_break_lock_file_never_links_a_symlink_swapped_in_before_the_take
pytest.mark.usefixtures("break_route")
tests/filesystem/test_exchange.py:None
Routetest_closing_every_instance_closes_its_descriptors
pytest.mark.usefixtures("connect_route")
tests/sqlite/test_connection.py:None
Routetest_descriptor_ownership_needs_a_new_permission_check
pytest.mark.parametrize( "responses", [ pytest.param([getattr(os, "O_NOATIME", 0)], id="alread
tests/filesystem/test_ownership.py:None
Routetest_expired_lock_race_rename_fails
pytest.mark.usefixtures("break_route")
tests/soft/exclusive/test_recovery_expiry.py:None
Routetest_fallback_writes_pid_and_hostname
pytest.mark.parametrize( "expected_lines", [ pytest.param( [str(os.getpid()), host
tests/native/test_unix_fallback.py:None
Routetest_interrupted_probe_leaves_directory_empty
pytest.mark.parametrize( "anonymous", [pytest.param(getattr(os, "O_TMPFILE", 0), id="default"), pytest.par
tests/native/test_unix_probe.py:None
Routetest_is_lock_held_by_us
pytest.mark.parametrize( ("content", "expected"), [ pytest.param(holder_record(os.getpid() + 1
tests/soft/exclusive/test_lock.py:None
Routetest_lazy_import_resolves_every_public_name
pytest.mark.parametrize( "script", [ pytest.param( """ import filelock
tests/test_lazy_import.py:None
Routetest_lease_tolerates_a_transient_refresh_error
pytest.mark.parametrize( ("target", "real"), [pytest.param("touch", lease_mod.touch, id="touch"), pyte
tests/soft/test_lease_heartbeat.py:None
Routetest_lock_writes_pid_and_hostname
pytest.mark.parametrize( "expected_lines", [ pytest.param( [str(os.getpid()), HOST
tests/soft/exclusive/test_publication.py:None
Routetest_marker_cleanup_denied_closes_its_handles
pytest.mark.parametrize("denied_open", [pytest.param(1, id="pin"), pytest.param(2, id="delete")])
tests/soft/exclusive/test_publication.py:None
Routetest_marker_is_lock_held_by_us_checks_start
pytest.mark.skipif(process_start_token(os.getpid()) is None, reason="platform exposes no proven process start
tests/soft/exclusive/test_marker.py:None
Routetest_owner_is_stale_dead_owner_by_start_token_reclaimed
pytest.mark.parametrize( ("boot_flip", "scans"), [ # Workers forked together can share a start
tests/identity/test_process.py:None
Routetest_pid
pytest.mark.parametrize( ("content", "expected"), [ pytest.param(b"not-a-number\n", None, id="
tests/soft/exclusive/test_lock.py:None
Routetest_public_global_pickles_by_reference
pytest.mark.parametrize( "name", [name for name in filelock.__all__ if isinstance(getattr(filelock, na
tests/test_pickle_compatibility.py:None
Routetest_read_write_lock_refuses_a_database_moved_after_connect
pytest.mark.skipif( sys.platform == "win32", reason="SQLite holds the database open without delete sharing
tests/sqlite/test_connection.py:None
Routetest_read_write_lock_release_interrupted_once_its_probe_release_applies
pytest.mark.parametrize( ("contender_output", "peer_count"), [pytest.param("", 0, id="alone"), pytest.
tests/sqlite/test_connection_descriptors.py:None
Routetest_readonly_lock_file_with_mtime_zero_raises
pytest.mark.skipif(sys.platform != "win32" and os.geteuid() == 0, reason="root can open a 0o444 file for writi
tests/native/test_file_identity.py:None
Routetest_ro_file
pytest.mark.skipif( sys.platform != "win32" and os.geteuid() == 0, reason="Cannot make a read only fil
tests/core/test_lock.py:None
Routetest_soft_contender_keeps_its_deadline_under_an_oplocked_live_marker
pytest.mark.parametrize( "oplocked_lock_path", [pytest.param(holder_record(os.getpid()), id="live-marker")
tests/soft/exclusive/test_recovery.py:None
Routetest_stale_break_admits_no_third_holder_beside_a_recreated_marker
pytest.mark.usefixtures("break_route")
tests/filesystem/test_exchange.py:None
Routetest_stale_break_ignores_a_claim_naming_no_valid_pid
pytest.mark.parametrize( "recoverer", [ pytest.param(str(2**64), id="oversized"), pyte
tests/soft/exclusive/test_recovery_claim.py:None
Routetest_stale_break_keeps_a_live_breakers_name
pytest.mark.skipif(process_start_token(os.getpid()) is None, reason="the process start token is unavailable")
tests/soft/exclusive/test_recovery_takeover.py:None
Routetest_stale_lock_rename_race
pytest.mark.usefixtures("break_route")
tests/soft/exclusive/test_recovery_takeover.py:None
Routetest_stale_marker_is_retained_without_exchange
pytest.mark.usefixtures("break_route")
tests/filesystem/test_exchange.py:None
Routetest_strict_soft_damaged_lock_path_names_occupant
pytest.mark.parametrize( ("make_occupant", "found"), [ pytest.param(Path.mkdir, "a directory",
tests/soft/strict/test_sentinel.py:None
Routetest_strict_soft_link_follow_probe_preserves_runtime_support_on_environment_error
pytest.mark.parametrize( ("target", "error"), [ pytest.param("tempfile.TemporaryDirectory", Fi
tests/soft/strict/test_publication_links.py:None
Routetest_strict_soft_rejects_readers_that_would_block_release
pytest.mark.parametrize( ("target", "share", "flags"), [ pytest.param(lambda claims: claims.pa
tests/soft/strict/test_windows.py:None
Routetest_strict_soft_release_waits_for_windows_io
pytest.mark.parametrize( ("prepare", "method"), [ pytest.param( lambda _: None,
tests/soft/strict/test_windows.py:None
Routetest_strict_soft_sentinel_vanishing_before_open_is_republished
pytest.mark.skipif( # pragma: win32 no cover sys.platform == "win32", reason="the test routes claim reads
tests/soft/strict/test_sentinel.py:None
Routetest_windows_open_without_oplock_wait_reports_the_break_as_contention
pytest.mark.parametrize("opener", ["open_read_without_oplock_wait", "open_for_delete_without_oplock_wait"])
tests/filesystem/windows/test_oplocks.py:None
Routeunavailable_owner_check
pytest.fixture(params=["ctypes", "dynamic-loader", "O_NOATIME", "capget"])
tests/filesystem/test_ownership.py:None