def testMountpoint2(self):
     devicexml=parseXMLString("""<disk name="/dev/mapper/mobilix--20-lv_tmp"/>""")
     mountpointxml=parseXMLString("""<mountpoint name="/tmp2"/>""")
     mountpoint=MountPoint(mountpointxml.documentElement, mountpointxml)
     device=Device(devicexml.documentElement, devicexml, mountsfile=self.mountsfilename)
     self.assertFalse(device.isMounted(mountpoint))
 def testDevice2(self):
     devicexml=parseXMLString("""<disk name="/dev/mapper/mobilix--20-lv_tmp2"/>""")
     device=Device(devicexml.documentElement, devicexml, mountsfile=self.mountsfilename)
     self.assertFalse(device.isMounted())