def METHOD_NAME(self):
    with patch.object(
        self.vcsrepository, "execute", side_effect=self.execute_failure
    ) as mock_execute:
        assert self.vcsrepository.get_changed_files("path", "1") == []
        assert mock_execute.called