summaryrefslogtreecommitdiff
path: root/tests/test_PristineTar.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_PristineTar.py')
-rw-r--r--tests/test_PristineTar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_PristineTar.py b/tests/test_PristineTar.py
index e837ef8..61fb9a9 100644
--- a/tests/test_PristineTar.py
+++ b/tests/test_PristineTar.py
@@ -72,7 +72,7 @@ def test_create_tarball():
>>> import gbp.deb.git
>>> repo = gbp.deb.git.DebianGitRepository(repo_dir)
- >>> repo.archive('tar', 'upstream/', '../upstream_1.0.orig.tar', 'upstream')
+ >>> repo.archive('tar', 'upstream/', '%s/../upstream_1.0.orig.tar' % repo_dir, 'upstream')
>>> gbp.command_wrappers.Command('gzip', [ '-n', '%s/../upstream_1.0.orig.tar' % repo_dir])()
"""