From where do you have the `test.tar.gz`? I would recommend you to have directory structure somewhere in: `invenio/testsuite/data/svn/repo1/...`, then gzip it to a `mkdtemp()` folder and use it from there so you are not touching any files inside python lib.