def PathOnDMG(self, path):
    # deal with leading /es in path var.
    while path[:1] == '/':
      path = path[1:]
    return os.path.join(self.mountpoint, path)
Returns path with dmg mount path prepended.
dataset/ETHPy150Open MacSysadmin/pymacadmin/utilities/diskimage_unittesting/macdmgtest.py/DMGUnitTest.PathOnDMG