Option C Tools
Loading...
Searching...
No Matches
test_archive_rotation.py File Reference
Go to the source code of this file.
Namespaces
namespace
tests_formatter
namespace
tests_formatter.test_archive_rotation
Functions
list[Path]
tests_formatter.test_archive_rotation._seed_backups
(Path archive_dir, str source_name, int count, float start_age=100.0)
None
tests_formatter.test_archive_rotation.test_archive_keeps_most_recent_n
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_archive_prune_handles_empty_dir
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_archive_prune_respects_per_file_scoping
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_archive_prune_max_backups_zero_disables
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_archive_prune_handles_unlink_failure
(Path tmp_path, monkeypatch)
None
tests_formatter.test_archive_rotation.test_default_max_backups_constant
()
Path
tests_formatter.test_archive_rotation._mk_sized_backup
(Path archive_dir, str
name
, int size, float mtime_offset)
None
tests_formatter.test_archive_rotation.test_size_prune_evicts_oldest_until_under_cap
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_size_prune_noop_when_under_cap
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_size_prune_disabled_with_nonpositive_cap
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_archive_file_enforces_size_cap_end_to_end
(Path tmp_path)
None
tests_formatter.test_archive_rotation.test_default_max_archive_bytes_constant
()
Variables
tests_formatter.test_archive_rotation.name
= fail_name:
tests
tests_formatter
test_archive_rotation.py
Generated by
1.15.0