← Về thư mục
tests/test_team_files.py
- test_unconfigured_area_refuses_everything · function · L26-L31 — def test_unconfigured_area_refuses_everything(tmp_path)
- test_resolution_is_contained · function · L34-L49 — def test_resolution_is_contained(tmp_path)
- test_symlink_escape_is_refused · function · L52-L60 — def test_symlink_escape_is_refused(tmp_path)
- test_upload_target_rules · function · L63-L72 — def test_upload_target_rules(tmp_path)
- test_listing_shape · function · L75-L85 — def test_listing_shape(tmp_path)
- daemon · function · L92-L104 — def daemon(tmp_path: Path)
- _body_json · function · L107-L108 — def _body_json(raw: bytes) -> dict
- _upload · function · L111-L124 — def _upload(daemon, cookie: str, directory: str, name: str, data: bytes, extra_q="")
- test_list_roots_and_dir · function · L127-L139 — def test_list_roots_and_dir(daemon)
- test_download_streams_the_bytes · function · L142-L153 — def test_download_streams_the_bytes(daemon)
- test_traversal_is_404_over_http · function · L156-L166 — def test_traversal_is_404_over_http(daemon)
- test_upload_round_trip_and_conflict · function · L169-L191 — def test_upload_round_trip_and_conflict(daemon)
- test_one_member_cannot_overwrite_anothers_upload · function · L194-L218 — def test_one_member_cannot_overwrite_anothers_upload(daemon)
- test_one_member_cannot_read_anothers_personal_area · function · L221-L259 — def test_one_member_cannot_read_anothers_personal_area(daemon)
- test_a_read_only_root_refuses_every_write · function · L262-L297 — def test_a_read_only_root_refuses_every_write(tmp_path, monkeypatch)
- test_upload_outside_root_is_404 · function · L300-L304 — def test_upload_outside_root_is_404(daemon)
- test_upload_bad_filename_is_400 · function · L307-L310 — def test_upload_bad_filename_is_400(daemon)
- test_oversize_upload_is_413_before_reading · function · L313-L327 — def test_oversize_upload_is_413_before_reading(daemon)
- test_guest_is_read_nothing_here · function · L330-L336 — def test_guest_is_read_nothing_here(daemon)
- test_unauthenticated_files_access_is_401 · function · L339-L341 — def test_unauthenticated_files_access_is_401(daemon)
- test_unconfigured_roots_shape · function · L344-L376 — def test_unconfigured_roots_shape(tmp_path)
- test_single_user_listing_without_roots_is_empty_not_404 · function · L379-L387 — def test_single_user_listing_without_roots_is_empty_not_404(tmp_path)
- test_single_user_listing_with_roots_still_lists_them · function · L390-L404 — def test_single_user_listing_with_roots_still_lists_them(tmp_path)