def METHOD_NAME(self) -> None:
    """
    Test unpacking a *.tar with file containing .. path
    and expect exception
    """
    files = ["regular_file.txt", os.path.join("..", "outside_file.txt")]
    test_tar = self.make_tar_file("test_tar.tar", files)
    with pytest.raises(InstallationError) as e:
        untar_file(test_tar, self.tempdir)
    assert "trying to install outside target directory" in str(e.value)