def test_cancel_publish_repo(self, mock_cancel_createrepo): """ Test cancel_publish_repo, which is not currently fully supported """ distributor = ISODistributor() distributor.working_dir = '/working/dir' distributor.cancel_publish_repo() mock_cancel_createrepo.assert_called_once_with(distributor.working_dir)