ska_pst.testutils.dsp
Submodule for working with DSP, such as working with the disk space.
- class ska_pst.testutils.dsp.DiskSpaceUtil(lfs_mount: Path, logger: Optional[Logger] = None)[source]
Utility class for dealing with disk space during tests.
This class provides a wrapper for the current disk usage but also has the ability to fill the disk with files to consume a certain amount of space.
This can be used as a context manager to allow for cleanup of files even if there is an exception.