summaryrefslogtreecommitdiffhomepage
path: root/tests/04_test_submodules.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-03 17:54:33 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-03 17:54:33 -0300
commit348e9927dfbd7d4046d95e660e1041b64ef32ee8 (patch)
tree8b34a1bd9670510047763e1cb1a481e8bf33d6c0 /tests/04_test_submodules.py
parent3e2239e7acaa49f33cf60aa24ededdf7f280b334 (diff)
builpackage: Move tarball creation functions to export_orig
Diffstat (limited to 'tests/04_test_submodules.py')
-rw-r--r--tests/04_test_submodules.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/04_test_submodules.py b/tests/04_test_submodules.py
index 7d3c0339..9e93d53b 100644
--- a/tests/04_test_submodules.py
+++ b/tests/04_test_submodules.py
@@ -14,6 +14,7 @@ import gbp.git
import gbp.command_wrappers
from gbp.scripts import buildpackage
+from gbp.scripts import export_orig
from gbp.scripts.common.buildpackage import (git_archive_submodules,
git_archive_single)
from tests.testutils import ls_zip
@@ -130,12 +131,12 @@ def test_create_tarballs():
self.upstream_version = version
# Tarball with submodules
s = source('0.1')
- ok_(buildpackage.git_archive(REPO, s, str(TMPDIR), "HEAD", "bzip2",
- 9, True))
+ ok_(export_orig.git_archive(REPO, s, str(TMPDIR), "HEAD", "bzip2",
+ 9, True))
# Tarball without submodules
s = source('0.2')
- ok_(buildpackage.git_archive(REPO, s, str(TMPDIR), "HEAD", "bzip2",
- 9, False))
+ ok_(export_orig.git_archive(REPO, s, str(TMPDIR), "HEAD", "bzip2",
+ 9, False))
def test_create_zip_archives():