Skip to content

FakePathModule is missing relpath #17

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions