← Về thư mục
tests/test_write_file_atomicity.py
- workspace · function · L29-L38 — def workspace(tmp_path)
- test_a_failed_overwrite_leaves_the_previous_contents · function · L41-L64 — def test_a_failed_overwrite_leaves_the_previous_contents(workspace, monkeypatch)
- failing · function · L47-L54 — def failing(args, *kwargs)
- test_a_failed_write_leaves_no_stage_behind · function · L67-L81 — def test_a_failed_write_leaves_no_stage_behind(workspace, monkeypatch)
- refuse · function · L72-L73 — def refuse(_self, _staged)
- test_a_successful_write_still_replaces_the_content · function · L84-L92 — def test_a_successful_write_still_replaces_the_content(workspace)
- test_an_overwrite_keeps_the_targets_permissions · function · L95-L104 — def test_an_overwrite_keeps_the_targets_permissions(workspace)
- test_a_new_file_is_created_without_a_pre_existing_target · function · L107-L113 — def test_a_new_file_is_created_without_a_pre_existing_target(workspace)