Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FakePathModule is missing relpath #17

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Closed

FakePathModule is missing relpath #17

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Labels

Comments

@GoogleCodeExporter
Copy link

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 dba...@google.com on 17 May 2013 at 10:20

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 22227f12608e.

Original comment by dba...@google.com on 17 May 2013 at 10:21

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants