'``temporary_mount`` mounts the supplied device at a temporary
directory.
The temporary directory is removed when it is unmounted.'

def test_success(self):

    filename = random_name(self)
    filecontent = random_name(self)
    fs1 = temporary_mount(self.device.device)
    fs1.mountpoint.child(filename).setContent(filecontent)
    fs2 = temporary_mount(self.device.device)
    self.assertEqual(filecontent, fs2.mountpoint.child(filename).getContent())
    fs1.unmount()
    fs2.unmount()
    self.assertEqual((False, False), (fs1.mountpoint.exists(), fs2.mountpoint.exists()))
