def test_rename(self, rename_mock): utils.rename('source', 'destination') rename_mock.assert_called_once_with('source', 'destination')
def do(self): rename(self._from, self._to, self._overwrite)