diff options
Diffstat (limited to 'tests/04_test_submodules.py')
-rw-r--r-- | tests/04_test_submodules.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py index 5cd8610..fcd00ba 100644 --- a/tests/04_test_submodules.py +++ b/tests/04_test_submodules.py @@ -127,11 +127,11 @@ def test_create_tarballs(): # Tarball with submodules changelog = {"Source": "test", "Upstream-Version": "0.1"} ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2", - "9", True)) + 9, True)) # Tarball without submodules changelog = {"Source": "test", "Upstream-Version": "0.2"} ok_(buildpackage.git_archive(REPO, changelog, str(TMPDIR), "HEAD", "bzip2", - "9", False)) + 9, False)) def test_create_zip_archives(): @@ -143,7 +143,7 @@ def test_create_zip_archives(): ok_('test/test_submodule/testfile' in contents) git_archive_single('HEAD', 'without-submodules.zip', 'test', - '', '', '', 'zip') + '', None, '', 'zip') contents = ls_zip('without-submodules.zip') ok_('test/test_submodule/testfile' not in contents) |