def test_unclaim_all_hardware(self, execute): MultipathClaim.unclaim_all_hardware() self.assertEqual(' '.join(execute.call_args[0][0]), "-n -u -a ")