Priority: High Component: tests/test_fs.py Type: Testing
The fs.py module has no tests despite containing complex logic for copying, rsyncing, and hardlinking files.
fs.py
copy_file()
copy_direntry()
update_direntry()
rsync()
hardlink_dir()
nest_hardlink()
scantree()
rm_direntry()
Add comprehensive test coverage in tests/test_fs.py for all functions, including:
tests/test_fs.py
High - Core functionality is untested, making bugs likely and refactoring risky.
No dependencies set.
The note is not visible to the blocked user.
Missing tests for core filesystem operations
Priority: High
Component: tests/test_fs.py
Type: Testing
Description
The
fs.pymodule has no tests despite containing complex logic for copying, rsyncing, and hardlinking files.Missing Test Coverage
copy_file()- fast file copyingcopy_direntry()- copying files/dirs/symlinksupdate_direntry()- updating destination entriesrsync()- the core sync logichardlink_dir()- recursive hardlinkingnest_hardlink()- nested hardlink creationscantree()- recursive directory traversalrm_direntry()- recursive deletionRisks
Proposed Solution
Add comprehensive test coverage in
tests/test_fs.pyfor all functions, including:Impact
High - Core functionality is untested, making bugs likely and refactoring risky.