Closed
Description
Solution:
Sets the os module imported in os.path captured by FakePathModule to
FakeOsModule. This ensures that any calls to os.* when redirecting
calls to os.path are calls to methods in FakeOsModule rather than to
the builtin os module over the actual file system. os.path.abspath,
os.path.realpath, and os.path.relpath from tested code gets values
from FakeOsModule.getcwd and the like when calculating path names.
Original issue reported on code.google.com by [email protected]
on 17 May 2013 at 10:20