Decide, design and implement a fake filesystem for unit tests

Follow-up from "Analysis class #63 (closed)" The following discussion from !89 (merged) should be addressed:

  • @treynders started a discussion:

    Unit tests must not write to disk. Either stub the filesystem calls or use some in-memory storage such as pyfakefs

Edited by Kelvin Loh