summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/04_test_submodules.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py
index 4b072201..1b45c86f 100644
--- a/tests/04_test_submodules.py
+++ b/tests/04_test_submodules.py
@@ -107,12 +107,12 @@ def test_create_tarballs():
"""Create an upstream tarball"""
# Tarball with submodules
changelog = { "Source": "test", "Upstream-Version": "0.1" }
- ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2",
- "9", True))
+ ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), str(TMPDIR),
+ "HEAD", "bzip2", "9", True))
# Tarball without submodules
changelog = { "Source": "test", "Upstream-Version": "0.2" }
- ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2",
- "9", False))
+ ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), str(TMPDIR),
+ "HEAD", "bzip2", "9", False))
def test_check_tarfiles():
"""Check the contents of the created tarfile"""