def test_umounts_a_device(self, log, check_output, fstab):
mountpoint = '/mnt/guido'
result = host.umount(mountpoint, persist=True)
self.assertTrue(result)
check_output.assert_called_with(['umount', mountpoint])
fstab.remove_by_mountpoint_called_with(mountpoint)
评论列表
文章目录