From dff62f20a00b7fde5f13754fb473c31aa5f91296 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 6 Apr 2011 13:30:06 +0200 Subject: Make submodule support conditional --- tests/04_test_gbp_submodules.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/04_test_gbp_submodules.py') diff --git a/tests/04_test_gbp_submodules.py b/tests/04_test_gbp_submodules.py index 5fb5c29..ae9d59a 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""" -- cgit v1.2.3