示例#1
0
 def test_umount(self, call):
     """umount: calls umount(8)"""
     mnt = '/mnt/fake'
     umount(mnt)
     call.assert_called_once_with(["umount", mnt])
示例#2
0
 def test_umount(self, call):
     """umount: calls umount(8)"""
     mnt = '/mnt/fake'
     umount(mnt)
     call.assert_called_once_with(["umount", mnt])