From 24e772577b071cb4297a5ed4b807aab334027144 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 7 Feb 2012 18:25:02 +0200 Subject: Make pristine_tar testcases pass with older git versions that don't support user-defined output formats (tar filters) in git-archive. --- tests/test_PristineTar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py index cfe51de7..f7eb5881 100644 --- a/tests/test_PristineTar.py +++ b/tests/test_PristineTar.py @@ -71,7 +71,8 @@ def test_create_tarball(): >>> import gbp.deb.git >>> repo = gbp.deb.git.DebianGitRepository(repo_dir) - >>> repo.archive('tar.gz', 'upstream/', '../upstream_1.0.orig.tar.gz', 'upstream') + >>> repo.archive('tar', 'upstream/', '../upstream_1.0.orig.tar', 'upstream') + >>> gbp.command_wrappers.Command('gzip', [ '-n', '%s/../upstream_1.0.orig.tar' % repo_dir])() """ def test_pristine_tar_commit(): -- cgit v1.2.3