Closed albu-diku closed 1 month ago
While coverage is always good, please don't spend too much time on localfile
or the other localX
and distX.
They're hardly used anymore if at all and should probably either be retired or completely rewritten based on the catch-all shared.fileio
. The same applies for iobase
I think, but you can check e.g. with the codegrep.py
helper or regular grep
.
Good targets for unit testing from mig.shared
include base
, safeinput
, serial
, userdb
, configuration
, logger
and validstring
for starters. After those I think the accountstate
, pwcrypto
, vgrid
, vgridaccess
and perhaps the entire griddaemons
subdir may be nice continuation targets to look into.
Replaced by https://github.com/ucphhpc/migrid-sync/pull/66.
Start putting together LocalFile tests and focus first on locking.