aboutsummaryrefslogtreecommitdiff
path: root/tests/doctests/test_PristineTar.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctests/test_PristineTar.py')
-rw-r--r--tests/doctests/test_PristineTar.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/doctests/test_PristineTar.py b/tests/doctests/test_PristineTar.py
index a792703..928ee28 100644
--- a/tests/doctests/test_PristineTar.py
+++ b/tests/doctests/test_PristineTar.py
@@ -137,6 +137,19 @@ def test_pristine_tar_checkout():
"""
+def test_pristine_tar_verify():
+ """
+ Verify a tarball using pristine-tar
+
+ Methods tested:
+ - L{gbp.deb.pristinetar.DebianPristineTar.verify}
+
+ >>> import gbp.deb.git
+ >>> repo = gbp.deb.git.DebianGitRepository(dirs['repo'])
+ >>> repo.pristine_tar.verify('../upstream_1.0.orig.tar.gz')
+ """
+
+
def test_pristine_tar_checkout_nonexistent():
"""
Checkout a tarball that does not exist using pristine-tar