aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-04-06 13:30:06 +0200
committerGuido Günther <agx@sigxcpu.org>2011-04-06 20:34:58 +0200
commitdff62f20a00b7fde5f13754fb473c31aa5f91296 (patch)
tree63f9c94239d448df675999ccb28619bac7538c46 /tests
parent82e5f4d5e0c87d587bc13323ee49e70c3d03cbcd (diff)
Make submodule support conditional
Diffstat (limited to 'tests')
-rw-r--r--tests/04_test_gbp_submodules.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/04_test_gbp_submodules.py b/tests/04_test_gbp_submodules.py
index 5fb5c298..ae9d59af 100644
--- a/tests/04_test_gbp_submodules.py
+++ b/tests/04_test_gbp_submodules.py
@@ -93,7 +93,7 @@ def test_dump_tree():
"""Dump the repository and check if files exist"""
dumpdir = os.path.join(tmpdir, "dump")
os.mkdir(dumpdir)
- assert git_buildpackage.dump_tree(repo, dumpdir, "master")
+ assert git_buildpackage.dump_tree(repo, dumpdir, "master", True)
assert os.path.exists(os.path.join(dumpdir, testfile_name))
assert os.path.exists(os.path.join(dumpdir, submodule_name, testfile_name))
@@ -106,7 +106,8 @@ def test_create_tarball():
tmpdir,
"HEAD",
"bzip2",
- "9")
+ "9",
+ True)
def test_chacke_tarfile():
"""Check the contents of the created tarfile"""