Hello, > This is a pattern we use quite often when patching at the module level. My approach is more simple - I just never use module-wide stuff. In my application _everything_ (include file system) are objects. Then using pymock became obvious. Vladimir Ignatov