Testpath is a collection of utilities for Python code working with files and commands.
conda install rpi64::testpath
Testpath contains functions to check things on the filesystem, and tools for mocking system commands and recording calls to those.