Has anyone released a Python "mock filesystem" for automated testing?

Jorgen Grahn jgrahn-nntq at algonet.se
Sat Nov 6 12:06:42 CET 2004


On Fri, 05 Nov 2004 01:04:34 -0600, Mike Meyer <mwm at mired.org> wrote:
...
> Second, consider using os.sep for path seperation, so that testing can
> be done correctly for the OS the project is running on. Or possibly a
> flag to indicate whether or not you want to use os.sep.

The mock file system should probably have a really bizarre os.sep, to
provoke code which assumes '/'.

Overall, it's an interesting idea.

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!



More information about the Python-list mailing list